CN105550022A - Business data processing method and apparatus - Google Patents
Business data processing method and apparatus Download PDFInfo
- Publication number
- CN105550022A CN105550022A CN201510982753.1A CN201510982753A CN105550022A CN 105550022 A CN105550022 A CN 105550022A CN 201510982753 A CN201510982753 A CN 201510982753A CN 105550022 A CN105550022 A CN 105550022A
- Authority
- CN
- China
- Prior art keywords
- business datum
- coding
- application container
- user
- module
- 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.)
- Granted
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/466—Transaction processing
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
Embodiments of the invention provide a business data processing method and apparatus. The method comprises the steps of receiving a processing request sent based on an agent of a user identifier in an application container; extracting a business data code from the processing request; judging whether the business data code is effective or not; if yes, looking for business data corresponding to the business data code; and writing the business data into the agent of the user identifier in the application container. According to the embodiments of the invention, the problem of a business processing error caused by permission change is avoided; and the request is sent by a user, so that inactive users are prevented from being subjected to business processing, the processing quantity is reduced, and the resource waste is reduced.
Description
Technical field
The present invention relates to the technical field of computer disposal, particularly relate to a kind of disposal route of business datum and a kind for the treatment of apparatus of business datum.
Background technology
Along with the development of the network technology, as networking products extensively enter the field such as life, study, work of people.
Due to the reason such as edition upgrading, product promotion, often can carry out the business processing such as upgrading, amendment of taking turns to user data, the time range of these business processing is comparatively wide, short then several days, long then several moon, even permanently effective.
But, because the authority of each user is different, also different to its business processing of carrying out, when user has carried out business processing, user data update is very fast, and authority changes greatly, and, the time range of business processing is comparatively wide, unifiedly when persistent service carries out upgrading, the business processing such as amendment, easily occurs mistake.
In addition, a lot of user is sluggish, unified carries out upgrading, the business processing such as amendment, easily causes the wasting of resources.
Summary of the invention
In view of the above problems, the present invention is proposed to provide a kind of overcoming the problems referred to above or a kind of disposal route of business datum solved the problem at least in part and the treating apparatus of corresponding a kind of business datum.
According to one aspect of the present invention, provide a kind of disposal route of business datum, comprising:
Receive the process request sent the agency of an application container based on a user ID;
Business datum coding is extracted from described process request;
Judge whether described business datum coding is effective; If so, the business datum that described business datum coding is corresponding is then searched;
Described business datum is write described user ID in the described agency of described application container.
Alternatively, described judge described business datum coding whether effective step comprise:
Judge whether described business datum coding belongs to described application container;
If so, described business datum coding is then determined effectively;
If not, then determine that described business datum coding is invalid.
Alternatively, described judge described business datum coding whether effective step comprise:
Judge whether the frequency of usage that described business datum is encoded exceedes default frequency threshold value;
If so, described business datum coding is then determined effectively;
If not, then determine that described business datum coding is invalid.
Alternatively, described judge described business datum coding whether effective step comprise:
Whether inquire about described user ID uses other business datums belonging to same business datum of encoding with described business datum to encode in the described agency of described application container;
If so, then determine that described business datum coding is invalid;
If not, then described business datum coding is determined effectively.
Alternatively, described business datum comprises data name, data value;
The described step of described user ID in the described agency of described application container that described business datum write comprises:
Judge whether described user ID has the business datum identical with described data name in the described agency of described application container;
If so, then described data value is added to the data value of the business datum of identical data name;
If not, then with the newly-increased business datum of described data name, described data value is configured to described data name.
Alternatively, also comprise:
Set up the mapping relations that business datum and one or more business datum are encoded;
To the application container that described one or more business datum configuration is suitable for;
By in described one or more business datum code storage to the first database.
Alternatively, also comprise:
When receiving that a user ID sends, for the business datum of described a certain application container the first acquisition request, obtain business datum coding that whether user ID described in requesting query marks described business datum, that be applicable to described application container according to described first;
If so, business datum coding that send business datum to described task identification, that be applicable to described application container is then forbidden;
If not, then business datum coding that extract described business datum from the first database, that be applicable to described application container, returns the business datum of extraction coding to described user ID.
Alternatively, after the step of the described business datum coding extracting described business datum from the first database, described method also comprises:
Business datum coding that described business datum is marked to described user ID, that be applicable to described application container.
Alternatively, after the step of the described business datum coding extracting described business datum from the first database, described method also comprises:
For business datum coding generation one task extracted;
After the time through presetting, start described task, by described business datum coding write second database.
Alternatively, also comprise:
When receiving that a user ID sends, for the business datum of described a certain application container the second acquisition request, obtain business datum coding that request extracts described business datum from described second database, that be applicable to described application container according to described second;
The business datum of extraction coding is returned described user ID.
According to a further aspect in the invention, provide a kind for the treatment of apparatus of business datum, comprising:
Process request receiving module, is suitable for receiving the process request sent the agency of an application container based on a user ID;
First business datum coding extraction module, is suitable for extracting business datum coding from described process request;
Effective judgement module, is suitable for judging whether described business datum coding is effective; If so, then call business datum and search module;
Business datum searches module, is suitable for searching business datum corresponding to described business datum coding;
Business datum writing module, is suitable for described business datum being write described user ID in the described agency of described application container.
Alternatively, described Effective judgement module is also suitable for:
Judge whether described business datum coding belongs to described application container;
If so, described business datum coding is then determined effectively;
If not, then determine that described business datum coding is invalid.
Alternatively, described Effective judgement module is also suitable for:
Judge whether the frequency of usage that described business datum is encoded exceedes default frequency threshold value;
If so, described business datum coding is then determined effectively;
If not, then determine that described business datum coding is invalid.
Alternatively, described Effective judgement module is also suitable for:
Whether inquire about described user ID uses other business datums belonging to same business datum of encoding with described business datum to encode in the described agency of described application container;
If so, then determine that described business datum coding is invalid;
If not, then described business datum coding is determined effectively.
Alternatively, described business datum comprises data name, data value;
Described business datum writing module is also suitable for:
Judge whether described user ID has the business datum identical with described data name in the described agency of described application container;
If so, then described data value is added to the data value of the business datum of identical data name;
If not, then with the newly-increased business datum of described data name, described data value is configured to described data name.
Alternatively, also comprise:
Mapping relations set up module, are suitable for setting up the mapping relations that business datum and one or more business datum are encoded;
Application container configuration module, is suitable for the application container be suitable for described one or more business datum configuration;
Database storage module, is suitable in described one or more business datum code storage to the first database.
Alternatively, also comprise:
Sentence molality block, be suitable for, when receiving that a user ID sends, for the business datum of described a certain application container the first acquisition request, obtaining business datum coding that whether user ID described in requesting query marks described business datum, that be applicable to described application container according to described first; If so, then call disabled module, if not, then call the second business datum coding extraction module;
Disabled module, is suitable for forbidding business datum coding that send business datum to described task identification, that be applicable to described application container;
Second business datum coding extraction module, is suitable for business datum extract described business datum from the first database, that be applicable to described application container coding;
First business datum coding returns module, is suitable for the business datum of extraction coding to return described user ID.
Alternatively, also comprise:
Business datum coding labeling module, is suitable for business datum that mark described business datum to described user ID, that be applicable to described application container coding.
Alternatively, also comprise:
Task generation module, is suitable for business datum coding generation one task for extracting;
Task call module, is suitable for after the time through presetting, and starts described task, by described business datum coding write second database.
Alternatively, also comprise:
3rd business datum coding extraction module, be suitable for, when receiving that a user ID sends, for the business datum of described a certain application container the second acquisition request, obtaining business datum coding that request extracts described business datum from described second database, that be applicable to described application container according to described second;
Second business datum coding returns module, is suitable for the business datum of extraction coding to return described user ID.
The embodiment of the present invention receive based on a user ID in the process request that the agency of an application container sends time, business datum coding is extracted from this process request, when confirming that business datum coding is effective, by the business datum of its correspondence write user ID in the agency of application container, dynamic service process is achieved by distribution service data encoding, avoid the problem causing business processing to make mistakes because of authority variation, and, owing to being the request that user sends, avoid carrying out business processing to inactive user, reduce treatment capacity, reduce the wasting of resources.
Above-mentioned explanation is only the general introduction of technical solution of the present invention, in order to technological means of the present invention can be better understood, and can be implemented according to the content of instructions, and can become apparent, below especially exemplified by the specific embodiment of the present invention to allow above and other objects of the present invention, feature and advantage.
Accompanying drawing explanation
By reading hereafter detailed description of the preferred embodiment, various other advantage and benefit will become cheer and bright for those of ordinary skill in the art.Accompanying drawing only for illustrating the object of preferred implementation, and does not think limitation of the present invention.And in whole accompanying drawing, represent identical parts by identical reference symbol.In the accompanying drawings:
Fig. 1 shows a kind of according to an embodiment of the invention flow chart of steps of disposal route embodiment 1 of business datum;
Fig. 2 shows a kind of according to an embodiment of the invention flow chart of steps of disposal route embodiment 2 of business datum; And
Fig. 3 shows a kind of according to an embodiment of the invention structured flowchart for the treatment of apparatus embodiment of business datum.
Embodiment
Below with reference to accompanying drawings exemplary embodiment of the present disclosure is described in more detail.Although show exemplary embodiment of the present disclosure in accompanying drawing, however should be appreciated that can realize the disclosure in a variety of manners and not should limit by the embodiment set forth here.On the contrary, provide these embodiments to be in order to more thoroughly the disclosure can be understood, and complete for the scope of the present disclosure can be conveyed to those skilled in the art.
With reference to Fig. 1, show a kind of according to an embodiment of the invention flow chart of steps of disposal route embodiment 1 of business datum, specifically can comprise the steps:
Step 101, receives the process request sent the agency of an application container based on a user ID;
It should be noted that, the embodiment of the present invention can be applied to application service platform, can provide the application service of product, and it can be independently server, can be also server cluster, as distributed system.
Because the form of product is different, therefore, the application service that application service platform provides is also different.
In specific implementation, in order to isolate business service, in application service platform, one or more application container can be created for same application product.
In each application container of same application product, can some base application data of multiplexing product, as dubbed in background music, UI (UserInterface, user interface) element etc., import user data after the user logs, after user carries out application process, expanded application data can be produced
For user, user, by after account, password login application service platform, can login one or more application container, after logining application container, can create one or more agency, with this one or more proxy call application service.
It should be noted that, in same application container, generally only allow to login an agency, logining two or more agency simultaneously, retaining the up-to-date agency logined when detecting, other agencies exit by force and login.
In embodiments of the present invention, business datum can be configured one or more business datum coding by application service platform, user is distributed to by various mode, user (characterizes with user ID, as user account) after the agency logining some application container, can incoming traffic data encoding, to the request of application service platform transmission processing.
Step 102, extracts business datum coding from described process request;
If application service platform receives process request, then can extract business datum coding, and the information such as record user identifications, application container, agency.
Step 103, judges whether described business datum coding is effective; If so, then step 104 is performed;
Because business datum coding is distributed by application service platform, therefore, before carrying out business processing, the business datum coding can submitted to user carries out validity check, if pass through validity check, then can carry out business processing, if not by validity check, then refusal carries out business processing.
In specific implementation, validity check can be carried out by one or more following modes:
One, application container ownership verification;
In the manner in which, application service platform can in advance to the application container of business datum coding configuration ownership, i.e. the business datum coding of same business datum, can for different application container.
Therefore, when verifying, can judge whether business datum coding belongs to this application container, if so, then determining business datum coding effectively, if not, then determine that business datum coding is invalid.
Two, frequency of usage verification;
In the manner in which, application service platform to this business datum coded markings frequency of usage, and can configure frequency threshold value, be generally 1 time after carrying out business processing based on certain business datum coding.
Therefore, when verifying, can judge whether the frequency of usage that business datum is encoded exceedes default frequency threshold value, if so, then determining business datum coding effectively, if not, then determine that business datum coding is invalid.
Three, verification of the same type;
In the manner in which, application service platform can record application container after carrying out business processing for user ID, the business datum coding used, and forbids in same application container, use other business datums coding belonging to same business datum.
Therefore, when verifying, can be identified in this agency of this application container and whether use other business datums belonging to same business datum of encoding with this business datum to encode by inquiring user, if, then determine that business datum coding is invalid, if not, then determine business datum coding effectively.
It should be noted that, the verification of application container ownership, the verification of the same type of frequency of usage School Affairs can be used alone, and also can use, the embodiment of the present invention is not limited this simultaneously.
If use simultaneously, then need, simultaneously by after all verifications, just to think by validity check, if one of them verification is not passed through, then can think and not pass through validity check.
Certainly, just exemplarily, when implementing the embodiment of the present invention, can arrange the mode of other validity checks according to actual conditions, the embodiment of the present invention is not limited this mode of above-mentioned validity check.In addition, except the mode of above-mentioned validity check, those skilled in the art can also adopt the mode of other validity check according to actual needs, and the embodiment of the present invention is not also limited this.
Step 104, searches the business datum that described business datum coding is corresponding;
If business datum coding by validity check, then can respond the process request that user sends, search the business datum that this business datum coding is corresponding in a database.
It should be noted that, because the form of product is different, therefore, the business datum that application service platform provides is also different.
Step 105, writes described user ID in the described agency of described application container by described business datum.
In embodiments of the present invention, the business datum of extraction can be write this user ID in this agency of this application container, finishing service process.
In one example, business datum can comprise data name (key), data value (value).
Therefore, when writing business datum, can judge whether this user ID has the business datum identical with this data name in this agency of this application container;
If so, then this data value is added in the data value of the business datum of identical data name;
If not, then with the newly-increased business datum of this data name, this data value is configured to this data name.
It should be noted that, in certain scenarios, need the agency of user to have corresponding authority and just can carry out business processing for some business datum coding.
After business processing completes, agency just can load new business datum on interface.
The embodiment of the present invention receive based on a user ID in the process request that the agency of an application container sends time, business datum coding is extracted from this process request, when confirming that business datum coding is effective, by the business datum of its correspondence write user ID in the agency of application container, dynamic process is achieved by distribution service data encoding, avoid and cause because of authority variation the problem processing and make mistakes, and, owing to being the request that user sends, avoid processing inactive user, reduce treatment capacity, reduce the wasting of resources.
With reference to Fig. 2, show a kind of according to an embodiment of the invention flow chart of steps of disposal route embodiment 2 of business datum, specifically can comprise the steps:
Step 201, sets up the mapping relations that business datum and one or more business datum are encoded;
Step 202, to the application container that described one or more business datum configuration is suitable for;
Step 203, by described one or more business datum code storage to the first database;
In embodiments of the present invention, business datum can be formulated by technician, and set up the mapping relations that this business datum and one or more business datum encode, by various mode, business datum coding point be sent out, pending business processing.
It should be noted that, business datum coding, except corresponding business datum, can also configure the information such as applicable application container, frequency of usage, authority.
Step 204, when receiving that a user ID sends, for the business datum of described a certain application container the first acquisition request, obtain business datum coding that whether user ID described in requesting query marks described business datum, that be applicable to described application container according to described first; If so, then perform step 205, if not, then perform step 206;
Step 205, forbids business datum coding that send business datum to described task identification, that be applicable to described application container;
Step 206, business datum coding extract described business datum from the first database, that be applicable to described application container;
Step 207, returns the business datum of extraction coding to described user ID;
Step 208, business datum coding that described business datum is marked to described user ID, that be applicable to described application container;
In embodiments of the present invention, user's (characterizing, as user account with user ID) can to the business datum of a certain application container of application service platform request.
For avoiding the wasting of resources, application service platform can verify whether this user (characterizing, as user account with user ID) formerly obtains the business datum coding of the business datum of this application container.
If user's (characterizing, as user account with user ID) obtains, then refuse again to this user (characterizing, as user account with user ID) distribution service data encoding.
If user's (characterizing, as user account with user ID) does not obtain, then to this user (characterizing, as user account with user ID) distribution service data encoding.
It should be noted that, this business datum coding for the business datum coding do not distributed online, for the business datum coding distributed, can be able to mark.
Therefore, user by query history record, can inquire about the business datum coding formerly obtained.
In addition, in some cases, can the quantity of limit service data encoding, if when user asks, there is no new, undealt business datum coding, then user service data can be pointed out to encode got complete.
Step 209, for business datum coding generation one task extracted;
Step 210, after the time through presetting, starts described task, by described business datum coding write second database;
For preventing lawless person's malice from getting business datum coding, or certain user forgets and carries out business processing after getting business datum coding, causes the wasting of resources.
In embodiments of the present invention, after the distribution of business datum coding, a task (Job) can be configured to it, and a timer is set.
Complete when timer, then can initiating task, by this business datum coding write second database.
Step 211, when receiving that a user ID sends, for the business datum of described a certain application container the second acquisition request, obtain business datum coding that request extracts described business datum from described second database, that be applicable to described application container according to described second;
Step 212, returns the business datum of extraction coding to described user ID.
In embodiments of the present invention, for the business datum coding got in the second database, then directly can respond user (to characterize with user ID, as user account) request distribute, this user (is not characterized with user ID, as user account) formerly whether obtain the business datum of this application container business datum coding verify, with improve business datum coding utilization rate, reduce the wasting of resources.
For embodiment of the method, in order to simple description, therefore it is all expressed as a series of combination of actions, but those skilled in the art should know, the embodiment of the present invention is not by the restriction of described sequence of movement, because according to the embodiment of the present invention, some step can adopt other orders or carry out simultaneously.Secondly, those skilled in the art also should know, the embodiment described in instructions all belongs to preferred embodiment, and involved action might not be that the embodiment of the present invention is necessary.
With reference to Fig. 3, show a kind of according to an embodiment of the invention structured flowchart for the treatment of apparatus embodiment of business datum, specifically can comprise as lower module:
Process request receiving module 301, is suitable for receiving the process request sent the agency of an application container based on a user ID;
First business datum coding extraction module 302, is suitable for extracting business datum coding from described process request;
Effective judgement module 303, is suitable for judging whether described business datum coding is effective; If so, then call business datum and search module 304;
Business datum searches module 304, is suitable for searching business datum corresponding to described business datum coding;
Business datum writing module 305, is suitable for described business datum being write described user ID in the described agency of described application container.
In a kind of embodiment of the present invention, described Effective judgement module 303 can also be suitable for:
Judge whether described business datum coding belongs to described application container;
If so, described business datum coding is then determined effectively;
If not, then determine that described business datum coding is invalid.
In a kind of embodiment of the present invention, described Effective judgement module 303 can also be suitable for:
Judge whether the frequency of usage that described business datum is encoded exceedes default frequency threshold value;
If so, described business datum coding is then determined effectively;
If not, then determine that described business datum coding is invalid.
In a kind of embodiment of the present invention, described Effective judgement module 303 can also be suitable for:
Whether inquire about described user ID uses other business datums belonging to same business datum of encoding with described business datum to encode in the described agency of described application container;
If so, then determine that described business datum coding is invalid;
If not, then described business datum coding is determined effectively.
In a kind of embodiment of the present invention, described business datum comprises data name, data value;
Described business datum writing module 304 can also be suitable for:
Judge whether described user ID has the business datum identical with described data name in the described agency of described application container;
If so, then described data value is added to the data value of the business datum of identical data name;
If not, then with the newly-increased business datum of described data name, described data value is configured to described data name.
In a kind of embodiment of the present invention, this device can also comprise as lower module:
Mapping relations set up module, are suitable for setting up the mapping relations that business datum and one or more business datum are encoded;
Application container configuration module, is suitable for the application container be suitable for described one or more business datum configuration;
Database storage module, is suitable in described one or more business datum code storage to the first database.
In a kind of embodiment of the present invention, this device can also comprise as lower module:
Sentence molality block, be suitable for, when receiving that a user ID sends, for the business datum of described a certain application container the first acquisition request, obtaining business datum coding that whether user ID described in requesting query marks described business datum, that be applicable to described application container according to described first; If so, then call disabled module, if not, then call the second business datum coding extraction module;
Disabled module, is suitable for forbidding business datum coding that send business datum to described task identification, that be applicable to described application container;
Second business datum coding extraction module, is suitable for business datum extract described business datum from the first database, that be applicable to described application container coding;
First business datum coding returns module, is suitable for the business datum of extraction coding to return described user ID.
In a kind of embodiment of the present invention, this device can also comprise as lower module:
Business datum coding labeling module, is suitable for business datum that mark described business datum to described user ID, that be applicable to described application container coding.
In a kind of embodiment of the present invention, this device can also comprise as lower module:
Task generation module, is suitable for business datum coding generation one task for extracting;
Task call module, is suitable for after the time through presetting, and starts described task, by described business datum coding write second database.
In a kind of embodiment of the present invention, this device can also comprise as lower module:
3rd business datum coding extraction module, be suitable for, when receiving that a user ID sends, for the business datum of described a certain application container the second acquisition request, obtaining business datum coding that request extracts described business datum from described second database, that be applicable to described application container according to described second;
Second business datum coding returns module, is suitable for the business datum of extraction coding to return described user ID.
For device embodiment, due to itself and embodiment of the method basic simlarity, so description is fairly simple, relevant part illustrates see the part of embodiment of the method.
Intrinsic not relevant to any certain computer, virtual system or miscellaneous equipment with display at this algorithm provided.Various general-purpose system also can with use based on together with this teaching.According to description above, the structure constructed required by this type systematic is apparent.In addition, the present invention is not also for any certain programmed language.It should be understood that and various programming language can be utilized to realize content of the present invention described here, and the description done language-specific is above to disclose preferred forms of the present invention.
In instructions provided herein, describe a large amount of detail.But can understand, embodiments of the invention can be put into practice when not having these details.In some instances, be not shown specifically known method, structure and technology, so that not fuzzy understanding of this description.
Similarly, be to be understood that, in order to simplify the disclosure and to help to understand in each inventive aspect one or more, in the description above to exemplary embodiment of the present invention, each feature of the present invention is grouped together in single embodiment, figure or the description to it sometimes.But, the method for the disclosure should be construed to the following intention of reflection: namely the present invention for required protection requires feature more more than the feature clearly recorded in each claim.Or rather, as claims below reflect, all features of disclosed single embodiment before inventive aspect is to be less than.Therefore, the claims following embodiment are incorporated to this embodiment thus clearly, and wherein each claim itself is as independent embodiment of the present invention.
Those skilled in the art are appreciated that and adaptively can change the module in the equipment in embodiment and they are arranged in one or more equipment different from this embodiment.Module in embodiment or unit or assembly can be combined into a module or unit or assembly, and multiple submodule or subelement or sub-component can be put them in addition.Except at least some in such feature and/or process or unit be mutually repel except, any combination can be adopted to combine all processes of all features disclosed in this instructions (comprising adjoint claim, summary and accompanying drawing) and so disclosed any method or equipment or unit.Unless expressly stated otherwise, each feature disclosed in this instructions (comprising adjoint claim, summary and accompanying drawing) can by providing identical, alternative features that is equivalent or similar object replaces.
In addition, those skilled in the art can understand, although embodiments more described herein to comprise in other embodiment some included feature instead of further feature, the combination of the feature of different embodiment means and to be within scope of the present invention and to form different embodiments.Such as, in the following claims, the one of any of embodiment required for protection can use with arbitrary array mode.
All parts embodiment of the present invention with hardware implementing, or can realize with the software module run on one or more processor, or realizes with their combination.It will be understood by those of skill in the art that the some or all functions that microprocessor or digital signal processor (DSP) can be used in practice to realize according to the some or all parts in the treatment facility of the business datum of the embodiment of the present invention.The present invention can also be embodied as part or all equipment for performing method as described herein or device program (such as, computer program and computer program).Realizing program of the present invention and can store on a computer-readable medium like this, or the form of one or more signal can be had.Such signal can be downloaded from internet website and obtain, or provides on carrier signal, or provides with any other form.
The present invention will be described instead of limit the invention to it should be noted above-described embodiment, and those skilled in the art can design alternative embodiment when not departing from the scope of claims.In the claims, any reference symbol between bracket should be configured to limitations on claims.Word " comprises " not to be got rid of existence and does not arrange element in the claims or step.Word "a" or "an" before being positioned at element is not got rid of and be there is multiple such element.The present invention can by means of including the hardware of some different elements and realizing by means of the computing machine of suitably programming.In the unit claim listing some devices, several in these devices can be carry out imbody by same hardware branch.Word first, second and third-class use do not represent any order.Can be title by these word explanations.
The embodiment of the invention discloses the disposal route of A1, a kind of business datum, comprising:
Receive the process request sent the agency of an application container based on a user ID;
Business datum coding is extracted from described process request;
Judge whether described business datum coding is effective; If so, the business datum that described business datum coding is corresponding is then searched;
Described business datum is write described user ID in the described agency of described application container.
A2, method as described in A1, describedly judge that the whether effective step of described business datum coding comprises:
Judge whether described business datum coding belongs to described application container;
If so, described business datum coding is then determined effectively;
If not, then determine that described business datum coding is invalid.
A3, method as described in A1, describedly judge that the whether effective step of described business datum coding comprises:
Judge whether the frequency of usage that described business datum is encoded exceedes default frequency threshold value;
If so, described business datum coding is then determined effectively;
If not, then determine that described business datum coding is invalid.
A4, method as described in A1, describedly judge that the whether effective step of described business datum coding comprises:
Whether inquire about described user ID uses other business datums belonging to same business datum of encoding with described business datum to encode in the described agency of described application container;
If so, then determine that described business datum coding is invalid;
If not, then described business datum coding is determined effectively.
A5, method as described in A1 or A2 or A3 or A4, described business datum comprises data name, data value;
The described step of described user ID in the described agency of described application container that described business datum write comprises:
Judge whether described user ID has the business datum identical with described data name in the described agency of described application container;
If so, then described data value is added to the data value of the business datum of identical data name;
If not, then with the newly-increased business datum of described data name, described data value is configured to described data name.
A6, method as described in A1 or A2 or A3 or A4, also comprise:
Set up the mapping relations that business datum and one or more business datum are encoded;
To the application container that described one or more business datum configuration is suitable for;
By in described one or more business datum code storage to the first database.
A7, method as described in A6, also comprise:
When receiving that a user ID sends, for the business datum of described a certain application container the first acquisition request, obtain business datum coding that whether user ID described in requesting query marks described business datum, that be applicable to described application container according to described first;
If so, business datum coding that send business datum to described task identification, that be applicable to described application container is then forbidden;
If not, then business datum coding that extract described business datum from the first database, that be applicable to described application container, returns the business datum of extraction coding to described user ID.
A8, method as described in A7, after the step of the described business datum coding extracting described business datum from the first database, described method also comprises:
Business datum coding that described business datum is marked to described user ID, that be applicable to described application container.
A9, method as described in A7, after the step of the described business datum coding extracting described business datum from the first database, described method also comprises:
For business datum coding generation one task extracted;
After the time through presetting, start described task, by described business datum coding write second database.
A10, method as described in A9, also comprise:
When receiving that a user ID sends, for the business datum of described a certain application container the second acquisition request, obtain business datum coding that request extracts described business datum from described second database, that be applicable to described application container according to described second;
The business datum of extraction coding is returned described user ID.
The embodiment of the invention discloses the treating apparatus of B11, a kind of business datum, comprising:
Process request receiving module, is suitable for receiving the process request sent the agency of an application container based on a user ID;
First business datum coding extraction module, is suitable for extracting business datum coding from described process request;
Effective judgement module, is suitable for judging whether described business datum coding is effective; If so, then call business datum and search module;
Business datum searches module, is suitable for searching business datum corresponding to described business datum coding;
Business datum writing module, is suitable for described business datum being write described user ID in the described agency of described application container.
B12, device as described in B11, described Effective judgement module is also suitable for:
Judge whether described business datum coding belongs to described application container;
If so, described business datum coding is then determined effectively;
If not, then determine that described business datum coding is invalid.
B13, device as described in B11, described Effective judgement module is also suitable for:
Judge whether the frequency of usage that described business datum is encoded exceedes default frequency threshold value;
If so, described business datum coding is then determined effectively;
If not, then determine that described business datum coding is invalid.
B14, device as described in B11, described Effective judgement module is also suitable for:
Whether inquire about described user ID uses other business datums belonging to same business datum of encoding with described business datum to encode in the described agency of described application container;
If so, then determine that described business datum coding is invalid;
If not, then described business datum coding is determined effectively.
B15, device as described in B11 or B12 or B13 or B14, described business datum comprises data name, data value;
Described business datum writing module is also suitable for:
Judge whether described user ID has the business datum identical with described data name in the described agency of described application container;
If so, then described data value is added to the data value of the business datum of identical data name;
If not, then with the newly-increased business datum of described data name, described data value is configured to described data name.
B16, device as described in B11 or B12 or B13 or B14, also comprise:
Mapping relations set up module, are suitable for setting up the mapping relations that business datum and one or more business datum are encoded;
Application container configuration module, is suitable for the application container be suitable for described one or more business datum configuration;
Database storage module, is suitable in described one or more business datum code storage to the first database.
17, the device as described in B16, also comprises:
Sentence molality block, be suitable for, when receiving that a user ID sends, for the business datum of described a certain application container the first acquisition request, obtaining business datum coding that whether user ID described in requesting query marks described business datum, that be applicable to described application container according to described first; If so, then call disabled module, if not, then call the second business datum coding extraction module;
Disabled module, is suitable for forbidding business datum coding that send business datum to described task identification, that be applicable to described application container;
Second business datum coding extraction module, is suitable for business datum extract described business datum from the first database, that be applicable to described application container coding;
First business datum coding returns module, is suitable for the business datum of extraction coding to return described user ID.
B18, device as described in B17, also comprise:
Business datum coding labeling module, is suitable for business datum that mark described business datum to described user ID, that be applicable to described application container coding.
B19, device as described in B17, also comprise:
Task generation module, is suitable for business datum coding generation one task for extracting;
Task call module, is suitable for after the time through presetting, and starts described task, by described business datum coding write second database.
B20, device as described in B19, also comprise:
3rd business datum coding extraction module, be suitable for, when receiving that a user ID sends, for the business datum of described a certain application container the second acquisition request, obtaining business datum coding that request extracts described business datum from described second database, that be applicable to described application container according to described second;
Second business datum coding returns module, is suitable for the business datum of extraction coding to return described user ID.
Claims (10)
1. a disposal route for business datum, comprising:
Receive the process request sent the agency of an application container based on a user ID;
Business datum coding is extracted from described process request;
Judge whether described business datum coding is effective; If so, the business datum that described business datum coding is corresponding is then searched;
Described business datum is write described user ID in the described agency of described application container.
2. the method for claim 1, is characterized in that, described judge described business datum coding whether effective step comprise:
Judge whether described business datum coding belongs to described application container;
If so, described business datum coding is then determined effectively;
If not, then determine that described business datum coding is invalid.
3. the method for claim 1, is characterized in that, described judge described business datum coding whether effective step comprise:
Judge whether the frequency of usage that described business datum is encoded exceedes default frequency threshold value;
If so, described business datum coding is then determined effectively;
If not, then determine that described business datum coding is invalid.
4. the method for claim 1, is characterized in that, described judge described business datum coding whether effective step comprise:
Whether inquire about described user ID uses other business datums belonging to same business datum of encoding with described business datum to encode in the described agency of described application container;
If so, then determine that described business datum coding is invalid;
If not, then described business datum coding is determined effectively.
5. method as claimed in claim 1 or 2 or 3 or 4, it is characterized in that, described business datum comprises data name, data value;
The described step of described user ID in the described agency of described application container that described business datum write comprises:
Judge whether described user ID has the business datum identical with described data name in the described agency of described application container;
If so, then described data value is added to the data value of the business datum of identical data name;
If not, then with the newly-increased business datum of described data name, described data value is configured to described data name.
6. method as claimed in claim 1 or 2 or 3 or 4, is characterized in that, also comprise:
Set up the mapping relations that business datum and one or more business datum are encoded;
To the application container that described one or more business datum configuration is suitable for;
By in described one or more business datum code storage to the first database.
7. method as claimed in claim 6, is characterized in that, also comprise:
When receiving that a user ID sends, for the business datum of described a certain application container the first acquisition request, obtain business datum coding that whether user ID described in requesting query marks described business datum, that be applicable to described application container according to described first;
If so, business datum coding that send business datum to described task identification, that be applicable to described application container is then forbidden;
If not, then business datum coding that extract described business datum from the first database, that be applicable to described application container, returns the business datum of extraction coding to described user ID.
8. method as claimed in claim 7, is characterized in that, after the step of the described business datum coding extracting described business datum from the first database, described method also comprises:
Business datum coding that described business datum is marked to described user ID, that be applicable to described application container.
9. method as claimed in claim 7, is characterized in that, after the step of the described business datum coding extracting described business datum from the first database, described method also comprises:
For business datum coding generation one task extracted;
After the time through presetting, start described task, by described business datum coding write second database.
10. a treating apparatus for business datum, comprising:
Process request receiving module, is suitable for receiving the process request sent the agency of an application container based on a user ID;
First business datum coding extraction module, is suitable for extracting business datum coding from described process request;
Effective judgement module, is suitable for judging whether described business datum coding is effective; If so, then call business datum and search module;
Business datum searches module, is suitable for searching business datum corresponding to described business datum coding;
Business datum writing module, is suitable for described business datum being write described user ID in the described agency of described application container.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510982753.1A CN105550022B (en) | 2015-12-23 | 2015-12-23 | A kind for the treatment of method and apparatus of business datum |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510982753.1A CN105550022B (en) | 2015-12-23 | 2015-12-23 | A kind for the treatment of method and apparatus of business datum |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105550022A true CN105550022A (en) | 2016-05-04 |
CN105550022B CN105550022B (en) | 2019-06-04 |
Family
ID=55829220
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510982753.1A Active CN105550022B (en) | 2015-12-23 | 2015-12-23 | A kind for the treatment of method and apparatus of business datum |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105550022B (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108924258A (en) * | 2018-08-14 | 2018-11-30 | 深圳壹账通智能科技有限公司 | Background information method for pushing, device, computer equipment and storage medium |
CN113553133A (en) * | 2021-07-26 | 2021-10-26 | 上海哔哩哔哩科技有限公司 | Page display method and system |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101789009A (en) * | 2010-01-26 | 2010-07-28 | 恒生电子股份有限公司 | Method for processing business data, device and system |
US20100199089A1 (en) * | 2009-02-05 | 2010-08-05 | Wwpass Corporation | Centralized authentication system with safe private data storage and method |
US20130212704A1 (en) * | 2012-02-13 | 2013-08-15 | Eugene Shablygin | Secure digital storage |
CN104899518A (en) * | 2015-03-12 | 2015-09-09 | 深圳市腾讯计算机***有限公司 | Service processing method and apparatus |
-
2015
- 2015-12-23 CN CN201510982753.1A patent/CN105550022B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20100199089A1 (en) * | 2009-02-05 | 2010-08-05 | Wwpass Corporation | Centralized authentication system with safe private data storage and method |
CN101789009A (en) * | 2010-01-26 | 2010-07-28 | 恒生电子股份有限公司 | Method for processing business data, device and system |
US20130212704A1 (en) * | 2012-02-13 | 2013-08-15 | Eugene Shablygin | Secure digital storage |
CN104899518A (en) * | 2015-03-12 | 2015-09-09 | 深圳市腾讯计算机***有限公司 | Service processing method and apparatus |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108924258A (en) * | 2018-08-14 | 2018-11-30 | 深圳壹账通智能科技有限公司 | Background information method for pushing, device, computer equipment and storage medium |
CN113553133A (en) * | 2021-07-26 | 2021-10-26 | 上海哔哩哔哩科技有限公司 | Page display method and system |
Also Published As
Publication number | Publication date |
---|---|
CN105550022B (en) | 2019-06-04 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
AU2018374912B2 (en) | Model training system and method, and storage medium | |
CN108959244B (en) | Address word segmentation method and device | |
CN103109290A (en) | Encoding a schema version in table names | |
CN105160269A (en) | Method and apparatus for accessing data in Docker container | |
CN110866029B (en) | sql statement construction method, device, server and readable storage medium | |
CN103826215A (en) | Method and apparatus for carrying out root authority management at terminal equipment | |
CN109450969B (en) | Method and device for acquiring data from third-party data source server and server | |
CN110063065B (en) | System and method for user authorization | |
CN113254470B (en) | Data modification method, device, computer equipment and storage medium | |
CN113220633B (en) | Unified file coding management method and system | |
CN111400681A (en) | Data permission processing method, device and equipment | |
CN113377740A (en) | Railway metadata management method, application method and device | |
CN108173839A (en) | Right management method and system | |
US20160004850A1 (en) | Secure download from internet marketplace | |
CN115292197A (en) | Software testing method and device, electronic equipment and storage medium | |
CN110659019A (en) | Parameter checking method and device and server | |
CN105550022A (en) | Business data processing method and apparatus | |
CN112363997B (en) | Data version management method, device and storage medium | |
CN113379501A (en) | Message pushing method and device, electronic equipment and storage medium | |
CN109683942B (en) | Script management method, script management device, script management medium and electronic equipment | |
CN110543465A (en) | directory operation method and device, computer equipment and storage medium | |
CN103761233A (en) | Method, device and system for processing database operation request | |
CN112632946A (en) | Method, apparatus, computer device and storage medium for automatic table building | |
CN115495911B (en) | Model renaming method, device and storage medium | |
CN113821531B (en) | Method, system and equipment for isolating fused media multi-tenant data |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
TR01 | Transfer of patent right | ||
TR01 | Transfer of patent right |
Effective date of registration: 20220715 Address after: Room 801, 8th floor, No. 104, floors 1-19, building 2, yard 6, Jiuxianqiao Road, Chaoyang District, Beijing 100015 Patentee after: BEIJING QIHOO TECHNOLOGY Co.,Ltd. Address before: 100088 room 112, block D, 28 new street, new street, Xicheng District, Beijing (Desheng Park) Patentee before: BEIJING QIHOO TECHNOLOGY Co.,Ltd. Patentee before: Qizhi software (Beijing) Co.,Ltd. |