CN104219249B - The method and apparatus for returning to different content according to the configuration information of server - Google Patents
The method and apparatus for returning to different content according to the configuration information of server Download PDFInfo
- Publication number
- CN104219249B CN104219249B CN201410503750.0A CN201410503750A CN104219249B CN 104219249 B CN104219249 B CN 104219249B CN 201410503750 A CN201410503750 A CN 201410503750A CN 104219249 B CN104219249 B CN 104219249B
- Authority
- CN
- China
- Prior art keywords
- server
- client
- configuration information
- information
- log
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Abstract
The invention discloses a kind of method and apparatus for returning to different content according to the configuration information of server, method includes the following steps:Main server-side successfully passes the log on request of client, and obtains the information of community organization belonging to the user;The log on request of the client is forwarded in sub-server corresponding with community organization end by main server-side;Sub-server end will be stored in configuration information therein and be back in client;Client reads the configuration information returned and the content in configuration information is shown on client end interface.Beneficial effects of the present invention:Each community organization is owned by a relatively independent server and possesses the permission of the configuration information in modification allocation list, the content for showing client is that the community organization according to belonging to client matches corresponding configuration information, modification configuration information can change the content and the function of not influencing client that client is shown, with very big flexibility, the personalization and diversification of application are enhanced.
Description
Technical field
The present invention relates to the communications fields between server end and client.
Background technique
In Internet world, application program is play important role, it is the one of user and Internet connectivity
A operational instrument.Existing application program download after be all show some fixations pattern and content or itself it is pre-
Equipped with the different pattern of several sets, user can only select from preset pattern when in use, and relatively fixation is inflexible, personalized and spirit
It is active insufficient.Have the label of some fixations in a page in application program, for example, have in a group chat page " transmission ",
The label of some fixations such as " return ", " founder ", " participant " and " dismiss group chat ", user can not voluntarily change these marks
The form of label can only be customized management by application developer.
Especially for the social software using a community organization as a group, each community organization is respectively a phase
To independent management group, but application interface pattern is all corresponding to all community organizations, and this mode cannot
Meet personalized and diversified demand, it is also not flexible.
Summary of the invention
For overcome the deficiencies in the prior art, it is returned the purpose of the present invention is to provide a kind of according to the configuration information of server
The method and apparatus for returning different content, the content for showing client, which is that the matching of the community organization according to belonging to client is corresponding, matches
Confidence breath, modification configuration information can change the content and the function of not influencing client that client is shown, enhance application
The personalization and diversification of program.
To solve the above problems, the technical solution adopted in the present invention is as follows:
Technical solution one:
According to the method that the configuration information of server returns to different content, include the following steps:
Step A:Main server-side successfully passes the log on request of client, and obtains community organization belonging to the user
Information;
Step B:The log on request of the client is forwarded to sub-server corresponding with the community organization by main server-side
In end;
Step C:The configuration information that sub-server end is saved is back in client;
Step D:Client reads the configuration information returned and the content in configuration information is shown on client end interface.
It further include step A0 before step A,
Step A0:Main server-side receives the log on request of client, and whether just to judge the information in the log on request
Really, it if so, thening follow the steps A, is unsuccessfully prompted if it is not, then returning to log in.
The information of all users is preserved in the primary server, a user corresponds to a community organization, a society
District's groups are knitted corresponding to a sub-server end.
The configuration information includes the content of pages in the client being shown in after logging in, which includes text letter
Breath and pictorial information.
Technical solution two:
The device that different content is returned according to the configuration information of server, comprises the following modules:
Obtain information module:It is set in main server-side, successfully passes logging in for client for main server-side and ask
It asks, and obtains the information of community organization belonging to the user;
Forwarding module:It is set in main server-side, is forwarded to the log on request of the client for main server-side
In sub-server corresponding with community organization end;
Return to configuration information module:It is set in sub-server end, configuration therein will be stored in for sub-server end
Information is back in client;
Read display module:It is set in client, reads the configuration information returned for client and by configuration information
In content be shown on client end interface.
It further include logging in judgment module before obtaining information module,
Log in judgment module:It is set in main server-side, the log on request of client is received for main server-side, and
Judge whether the information in the log on request is correct, obtain information module if so, executing, is mentioned if it is not, then returning and logging in failure
Show.
The information of all users is preserved in the primary server, a user corresponds to a community organization, a society
District's groups are knitted corresponding to a sub-server end.
The configuration information includes the content of pages in the client being shown in after logging in, which includes text letter
Breath and pictorial information.
Compared with prior art, the beneficial effects of the present invention are:Each community organization is owned by a relatively independent clothes
Business device and the permission for possessing the configuration information in modification allocation list, the content for showing client is the community according to belonging to client
The corresponding configuration information of Organization Matching, modification configuration information can change the content that client is shown and not influence client
Function has very big flexibility, enhances the personalization and diversification of application.
Detailed description of the invention
Fig. 1 is the flow chart of the method for the invention that different content is returned according to the configuration information of server.
Specific embodiment
In the following, being described further in conjunction with attached drawing and specific embodiment to the present invention:
Fig. 1 shows the preferred embodiment of method of the invention, returns to different content according to the configuration information of server
Method, this method are applied between main server-side, sub-server end and client.Wherein, this method application scene be with
Community organization is the social scene of unit, such as a company or a unit are a community organization, user's meeting in registration
Bind corresponding community organization.Main server-side manages the information of all users and the information at sub-server end, while also and often
A sub-server end connection communication, sub-server end one community organization of corresponding management.
This approach includes the following steps:
Step A0:Main server-side receives the log on request of client, and whether just to judge the information in the log on request
Really, it if so, thening follow the steps A, is unsuccessfully prompted if it is not, then returning to log in.User is stepped on by client to main server-side initiation
Land request, main server-side judge whether the user is registration user and whether username and password is correct.
Step A:Main server-side successfully passes the log on request of client, and obtains community organization belonging to the user
Information.After user's successful log, main server-side can in the database according to the user obtain it corresponding to community organization
Information.
Step B:The log on request of the client is forwarded to sub-server corresponding with the community organization by main server-side
In end.Because each community organization's correspondence possesses a sub-server end, main server-side gets the login user
After corresponding community organization's information, the log on request of the user is forwarded to sub-server corresponding with community organization end
In, the information for needing to return is handled by the sub-server end.
Step C:Sub-server end will be stored in configuration information therein and be back in client.Each sub-server end
An allocation list is all preserved in database, can voluntarily be modified by the configuration information in editor's allocation list and be returned required for customization
The content returned, the configuration information in the allocation list only correspond to text, icon and pictorial information in client, can't change
Become general frame, layout, pattern and the function of client.For example, having " founder ", " ginseng in a page of active client
With person ", " return ", the labels such as " dismission ", then the manager at each sub-server end can be by the content modification of these labels
It is replaced at other texts, or even with picture.
Step D:Client reads the configuration information returned and the content in configuration information is shown on client end interface.
After configuration information is back to the client used by a user by corresponding sub-server end, what client reading returned matches confidence
After breath, content included by configuration information is shown on client end interface.
It can be realized according to above-mentioned method, each community organization is owned by a relatively independent server and possesses modification
The permission of allocation list, i.e., each community organization can customize the word content or picture for belonging to community organization's style, have
Very big flexibility enhances the personalization and diversification of application.Such as a certain community organization is an American tissue, pass through by
Configuration information in allocation list is revised as English, then after the member for belonging to the community organization is logged in by any one client
The page of English will be returned to, but will not influence the function of this page.
It include main server-side, sub-server end and visitor in the device based on the above method there are also a kind of corresponding device
Family end, wherein the device can be understood as the system including main server-side, sub-server end and client.
The device that different content is returned according to the configuration information of server, comprises the following modules:
Obtain information module:It is set in main server-side, successfully passes logging in for client for main server-side and ask
It asks, and obtains the information of community organization belonging to the user;
Forwarding module:It is set in main server-side, is forwarded to the log on request of the client for main server-side
In sub-server corresponding with community organization end;
Return to configuration information module:It is set in sub-server end, configuration therein will be stored in for sub-server end
Information is back in client;
Read display module:It is set in client, reads the configuration information returned for client and by configuration information
In content be shown on client end interface.
It further, further include logging in judgment module before obtaining information module,
Log in judgment module:It is set in main server-side, the log on request of client is received for main server-side, and
Judge whether the information in the log on request is correct, obtain information module if so, executing, is mentioned if it is not, then returning and logging in failure
Show.
The information of all users is preserved in primary server, a user corresponds to a community organization, community's group
It knits and corresponds to a sub-server end.
Configuration information includes the content of pages in the client being shown in after logging in, the content of pages include text information and
Pictorial information.
It will be apparent to those skilled in the art that can make various other according to the above description of the technical scheme and ideas
Corresponding change and deformation, and all these changes and deformation all should belong to the protection scope of the claims in the present invention
Within.
Claims (8)
1. the method for returning to different content according to the configuration information of server, which is characterized in that include the following steps:
Step A:Main server-side successfully passes the log on request of client, and the letter of user is obtained according to the log on request
Breath, and obtain the information of community organization belonging to the user;
Step B:The log on request of the client is forwarded in sub-server corresponding with community organization end by main server-side;
Step C:The configuration information that sub-server end is saved is back in client;
Step D:Client reads the configuration information returned and the content in configuration information is shown on client end interface;
Wherein, each community organization can modify to the information of the configuration saved on its corresponding sub-server end.
2. the method according to claim 1 for returning to different content according to the configuration information of server, which is characterized in that
It further include step A0 before step A,
Step A0:Main server-side receives the log on request of client, and judges whether the information in the log on request is correct, if
It is to then follow the steps A, is unsuccessfully prompted if it is not, then returning to log in.
3. the method according to claim 1 for returning to different content according to the configuration information of server, which is characterized in that institute
The information that all users are preserved in primary server is stated, a user corresponds to a community organization, and a community organization is corresponding
In a sub-server end.
4. the method according to claim 1 for returning to different content according to the configuration information of server, which is characterized in that institute
Stating configuration information includes the content of pages in the client being shown in after logging in, which includes text information and picture letter
Breath.
5. returning to the device of different content according to the configuration information of server, which is characterized in that comprise the following modules:
Obtain information module:It is set in main server-side, the log on request of client is successfully passed for main server-side, and
The information of user is obtained according to the log on request, and obtains the information of community organization belonging to the user;
Forwarding module:It is set in main server-side, the log on request of the client is forwarded to and is somebody's turn to do for main server-side
In the corresponding sub-server end of community organization;
Return to configuration information module:It is set in sub-server end, configuration information therein will be stored in for sub-server end
It is back in client;
Read display module:It is set in client, the configuration information returned for client reading simultaneously will be in configuration information
Content is shown on client end interface;
Wherein, each community organization can modify to the information of the configuration saved on its corresponding sub-server end.
6. the device according to claim 5 for returning to different content according to the configuration information of server, which is characterized in that
Obtaining information module further includes before logging in judgment module,
Log in judgment module:It is set in main server-side, the log on request of client is received for main server-side, and judge
Whether the information in the log on request is correct, obtains information module if so, executing, unsuccessfully prompts if it is not, then returning to log in.
7. the device according to claim 5 for returning to different content according to the configuration information of server, which is characterized in that institute
The information that all users are preserved in primary server is stated, a user corresponds to a community organization, and a community organization is corresponding
In a sub-server end.
8. the device according to claim 5 for returning to different content according to the configuration information of server, which is characterized in that institute
Stating configuration information includes the content of pages in the client being shown in after logging in, which includes text information and picture letter
Breath.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410503750.0A CN104219249B (en) | 2014-09-26 | 2014-09-26 | The method and apparatus for returning to different content according to the configuration information of server |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410503750.0A CN104219249B (en) | 2014-09-26 | 2014-09-26 | The method and apparatus for returning to different content according to the configuration information of server |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104219249A CN104219249A (en) | 2014-12-17 |
CN104219249B true CN104219249B (en) | 2018-11-27 |
Family
ID=52100383
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410503750.0A Active CN104219249B (en) | 2014-09-26 | 2014-09-26 | The method and apparatus for returning to different content according to the configuration information of server |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104219249B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109600443B (en) * | 2018-12-14 | 2022-02-08 | 广州优虎科技有限公司 | Client function module background operation system and method |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101039220A (en) * | 2007-03-30 | 2007-09-19 | 华为技术有限公司 | Method for providing individualized experience, apparatus, server system and network management system |
CN101192254A (en) * | 2006-12-13 | 2008-06-04 | 腾讯科技(深圳)有限公司 | Push button configuration system and push button configuration method |
CN101299682A (en) * | 2008-06-17 | 2008-11-05 | 腾讯科技(深圳)有限公司 | Method for implementing browser collocation, apparatus as well as browser system |
CN101715586A (en) * | 2007-05-15 | 2010-05-26 | 社会方案股份有限公司 | System and method for creating a social-networking online community |
US8244774B2 (en) * | 2004-05-21 | 2012-08-14 | Ca, Inc. | Automated creation of web GUI for XML servers |
CN103034690A (en) * | 2012-11-28 | 2013-04-10 | 华南理工大学 | Self-customizing method of mobile terminal client application program based on web service |
-
2014
- 2014-09-26 CN CN201410503750.0A patent/CN104219249B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8244774B2 (en) * | 2004-05-21 | 2012-08-14 | Ca, Inc. | Automated creation of web GUI for XML servers |
CN101192254A (en) * | 2006-12-13 | 2008-06-04 | 腾讯科技(深圳)有限公司 | Push button configuration system and push button configuration method |
CN101039220A (en) * | 2007-03-30 | 2007-09-19 | 华为技术有限公司 | Method for providing individualized experience, apparatus, server system and network management system |
CN101715586A (en) * | 2007-05-15 | 2010-05-26 | 社会方案股份有限公司 | System and method for creating a social-networking online community |
CN101299682A (en) * | 2008-06-17 | 2008-11-05 | 腾讯科技(深圳)有限公司 | Method for implementing browser collocation, apparatus as well as browser system |
CN103034690A (en) * | 2012-11-28 | 2013-04-10 | 华南理工大学 | Self-customizing method of mobile terminal client application program based on web service |
Also Published As
Publication number | Publication date |
---|---|
CN104219249A (en) | 2014-12-17 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
AU2021266282B2 (en) | Dynamic referencing of term definitions within a document | |
US10915702B2 (en) | Methods and systems for validating multiple methods of input using a unified rule set | |
CN109891446B (en) | Template-based calendar event with graphics enrichment | |
US10445377B2 (en) | Automatically generating a website specific to an industry | |
US7293034B2 (en) | Dynamically customizing a user interface for the aggregation of content | |
US10528912B2 (en) | User profile improvement system | |
US20130254856A1 (en) | Password Generation And Management | |
US9910682B2 (en) | Simultaneous website and mobile app creation method and system | |
CN108762760A (en) | Software interface customizing method, device, computer equipment and storage medium | |
JP2014513826A (en) | Computer systems, databases and their use | |
CN102867025A (en) | Method and device for acquiring picture marking data | |
CN101373527A (en) | Human authority control method engaged with system | |
US20180349333A1 (en) | File information interlinking method | |
CN105205757A (en) | Android-based elective system | |
CN113076104A (en) | Page generation method, device, equipment and storage medium | |
CN109670159A (en) | The creation of view and management method, device, electronic equipment and storage medium | |
CN109829123A (en) | A kind of method for sending information and device | |
US9355269B2 (en) | Method and system for managing uniquely identifiable bookmarklets | |
CN109284198A (en) | A kind of method and apparatus verifying data | |
CN106326486A (en) | Method of information push based on artificial intelligence and device thereof | |
CN108733374A (en) | Application program homepage development approach and terminal device | |
US20200153828A1 (en) | Transparency mechanism for the local composition of personal user data stored in a distributed fashion | |
Linclau et al. | Stereoarrays with an All‐Carbon Quaternary Center: Diastereoselective Desymmetrization of Prochiral Malonaldehydes | |
JP2012203756A (en) | Authentication device and method | |
CN104219249B (en) | The method and apparatus for returning to different content according to the configuration information of server |
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 |