[go: up one dir, main page]

CN104219249A - Method and device for returning different contents according to configuration information of server - Google Patents

Method and device for returning different contents according to configuration information of server Download PDF

Info

Publication number
CN104219249A
CN104219249A CN201410503750.0A CN201410503750A CN104219249A CN 104219249 A CN104219249 A CN 104219249A CN 201410503750 A CN201410503750 A CN 201410503750A CN 104219249 A CN104219249 A CN 104219249A
Authority
CN
China
Prior art keywords
client
configuration information
server end
information
server
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
Application number
CN201410503750.0A
Other languages
Chinese (zh)
Other versions
CN104219249B (en
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.)
GUANGZHOU WENDAO CULTURAL TRANSMISSION Co Ltd
Original Assignee
GUANGZHOU WENDAO CULTURAL TRANSMISSION 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 GUANGZHOU WENDAO CULTURAL TRANSMISSION Co Ltd filed Critical GUANGZHOU WENDAO CULTURAL TRANSMISSION Co Ltd
Priority to CN201410503750.0A priority Critical patent/CN104219249B/en
Publication of CN104219249A publication Critical patent/CN104219249A/en
Application granted granted Critical
Publication of CN104219249B publication Critical patent/CN104219249B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses a method for returning different contents according to configuration information of a server and a device thereof, and the method comprises the following steps of: successfully passing through logging requests of a client by a main server, and acquiring information of community organization containing the client; transmitting the logging requests of the client to a subordinate server corresponding to the community organization by the main server; returning stored configuration information into the client by the subordinate server; reading returned configuration information and displaying contents from the configuration information on a client interface by the client. The beneficial effect of the device is that: each community organization owns one independent server and permission to modify the configuration information in a configuration table, such that the contents displayed on the client are matched with the corresponding configuration information according to the community organization containing the client, the contents displayed on the client can be changed by modifying the configuration information and the client function cannot be affected, thus the device can be flexibly used and enhanced in individuation and diversification of application.

Description

According to the configuration information of server, return to the method and apparatus of different content
Technical field
The present invention relates to the communications field between server end and client.
Background technology
In Internet world, application program is being played the part of important role, and it is the operation tool that user is communicated with the Internet.After existing application program downloads, be all to show some fixing pattern and contents, or itself is preset with the different pattern of several covers, user can only select in use from default pattern, and it is inflexible relatively to fix, personalized and flexibility deficiency.In a page in application program, there are some fixing labels, such as there being some fixing labels such as " transmission ", " returning ", " founder ", " participant " and " dismission group chat " in a group chat page, user can not change the form of these labels voluntarily, can only carry out customized management by application developer.
Special for Yi Yige community organization the social software as Yi Ge colony, each community organization is respectively a relatively independent management colony, but the corresponding application interface pattern of all community organizations is all the same, this mode just can not satisfying personalized and diversified demand, also dumb.
Summary of the invention
In order to overcome the deficiencies in the prior art, the object of the present invention is to provide a kind of configuration information according to server to return to the method and apparatus of different content, the content that client is shown is to mate corresponding configuration information according to the community organization under client, revise the function that configuration information just can change the content of client demonstration and not affect client, strengthened the personalized and diversified of application program.
For addressing the above problem, the technical solution adopted in the present invention is as follows:
Technical scheme one:
The method of returning to different content according to the configuration information of server, comprises the following steps:
Steps A: master server end is successfully by the request that logs in of client, and obtain the information of the community organization under this user;
Step B: master server end is forwarded to the request that logs in of this client in sub server end corresponding to Yu Gai community organization;
Step C: sub server end is back to the configuration information of its preservation in client;
Step D: client reads the configuration information returning and the content in configuration information is shown on client end interface.
Before steps A, also comprise steps A 0,
Steps A 0: master server termination is received the request that logs in of client, and judges that whether this information logging in request is correct, if so, performs step A, if not, returns and logs in unsuccessfully prompting.
In described master server, preserve all users' information, a user is corresponding to Yi Ge community organization, and Yi Ge community organization is corresponding to a sub server end.
Described configuration information comprises the content of pages in the client being shown in after logging in, and this content of pages comprises Word message and pictorial information.
Technical scheme two:
According to the configuration information of server, return to the device of different content, comprise with lower module:
Obtaining information module: be arranged in master server end, successfully by the request that logs in of client, and obtain the information of the community organization under this user for master server end;
Forwarding module: be arranged in master server end, for master server end, the request that logs in of this client be forwarded to sub server end corresponding to Yu Gai community organization;
Return to configuration information module: be arranged in sub server end, for sub server end, the configuration information being stored in be wherein back to client;
Reading displayed module: be arranged in client, read the configuration information returning and the content of configuration information is shown in to client end interface for client.
Before obtaining information module, also comprise and log in judge module,
Log in judge module: be arranged in master server end, for master server termination, receive the request that logs in of client, and judge that whether this information logging in request is correct, if so, carry out obtaining information module, if not, return and log in unsuccessfully prompting.
In described master server, preserve all users' information, a user is corresponding to Yi Ge community organization, and Yi Ge community organization is corresponding to a sub server end.
Described configuration information comprises the content of pages in the client being shown in after logging in, and this content of pages comprises Word message and pictorial information.
Compared to existing technology, beneficial effect of the present invention is: each community organization has a relatively independent server and has the authority of revising the configuration information in allocation list, the content that client is shown is to mate corresponding configuration information according to the community organization under client, revise the function that configuration information just can change the content of client demonstration and not affect client, there is very large flexibility, strengthened the personalized and diversified of application.
Accompanying drawing explanation
Fig. 1 is the flow chart that the configuration information according to server of the present invention returns to the method for different content.
Embodiment
Below, by reference to the accompanying drawings and embodiment, the present invention is described further:
Fig. 1 shows the preferred embodiment of method of the present invention, returns to the method for different content according to the configuration information of server, and the method is applied between master server end, sub server end and client.Wherein, the social scene that the scene Wei Yi community organization of the method application is unit, Wei Yige community organization of Huo Yige unit of Yi Ge company for example, user can bind corresponding community organization when registration.There are user's information and the information of sub server end in master server end administrative institute, is also connected communication with each sub server end simultaneously, the corresponding management of a sub server end Yi Ge community organization.
The method comprises the following steps:
Steps A 0: master server termination is received the request that logs in of client, and judges that whether this information logging in request is correct, if so, performs step A, if not, returns and logs in unsuccessfully prompting.User initiates to log in request to master server end by client, and master server end judges whether this user is whether registered user and username and password be correct.
Steps A: master server end is successfully by the request that logs in of client, and obtain the information of the community organization under this user.After user successfully logs in, master server end can obtain the information of its corresponding community organization in database according to this user.
Step B: master server end is forwarded to the request that logs in of this client in sub server end corresponding to Yu Gai community organization.Because each community organization's correspondence has a sub server end, so master server end gets after the corresponding community organization of this login user information, this user's the request that logs in is forwarded in sub server end corresponding to Yu Gai community organization, by this sub server end, is processed the information that need to return.
Step C: sub server end is back to the configuration information being stored in wherein in client.In the database of each sub server end, preserve an allocation list, by the configuration information in editor's allocation list, can revise voluntarily the required content of returning of customization, configuration information in this allocation list is only corresponding to the word in client, icon and pictorial information, can't change general frame, layout, pattern and the function of client.For example, in a page of active client, have the labels such as " founder ", " participant ", " returning ", " dismission ", the manager of each sub server end can become the content modification of these labels other words so, even with picture, replaces.
Step D: client reads the configuration information returning and the content in configuration information is shown on client end interface.Corresponding sub server end is back to configuration information after the client that this user uses, and client reads after the configuration information returning, and the content that configuration information is included is shown on client end interface.
According to above-mentioned method, can realize, each community organization has a relatively independent server and has the authority of revising allocation list, be that each community organization can customize word content or the picture that belongs to this community organization's style, there is very large flexibility, strengthened the personalized and diversified of application.For example a certain community organization Shi Yige U.S. organizes, by the configuration information in allocation list is revised as to English, after the member who belongs to so this community organization logs in by any one client, all the English page can be returned to, but the function of this page can't be affected.
Based on said method, also have corresponding a kind of device, this device comprises master server end, sub server end and client, and wherein, this device can be understood as a system that comprises master server end, sub server end and client.
According to the configuration information of server, return to the device of different content, comprise with lower module:
Obtaining information module: be arranged in master server end, successfully by the request that logs in of client, and obtain the information of the community organization under this user for master server end;
Forwarding module: be arranged in master server end, for master server end, the request that logs in of this client be forwarded to sub server end corresponding to Yu Gai community organization;
Return to configuration information module: be arranged in sub server end, for sub server end, the configuration information being stored in be wherein back to client;
Reading displayed module: be arranged in client, read the configuration information returning and the content of configuration information is shown in to client end interface for client.
Further, before obtaining information module, also comprise and log in judge module,
Log in judge module: be arranged in master server end, for master server termination, receive the request that logs in of client, and judge that whether this information logging in request is correct, if so, carry out obtaining information module, if not, return and log in unsuccessfully prompting.
In master server, preserve all users' information, a user is corresponding to Yi Ge community organization, and Yi Ge community organization is corresponding to a sub server end.
Configuration information comprises the content of pages in the client being shown in after logging in, and this content of pages comprises Word message and pictorial information.
To one skilled in the art, can make other various corresponding changes and deformation according to technical scheme described above and design, and within these all changes and deformation all should belong to the protection range of the claims in the present invention.

Claims (8)

1. according to the configuration information of server, return to the method for different content, it is characterized in that, comprise the following steps:
Steps A: master server end is successfully by the request that logs in of client, and obtain the information of the community organization under this user;
Step B: master server end is forwarded to the request that logs in of this client in sub server end corresponding to Yu Gai community organization;
Step C: sub server end is back to the configuration information of its preservation in client;
Step D: client reads the configuration information returning and the content in configuration information is shown on client end interface.
2. the configuration information according to server according to claim 1 returns to the method for different content, it is characterized in that, also comprises steps A 0 before steps A,
Steps A 0: master server termination is received the request that logs in of client, and judges that whether this information logging in request is correct, if so, performs step A, if not, returns and logs in unsuccessfully prompting.
3. the configuration information according to server according to claim 1 returns to the method for different content, it is characterized in that, in described master server, preserve all users' information, a user is corresponding to Yi Ge community organization, and Yi Ge community organization is corresponding to a sub server end.
4. the configuration information according to server according to claim 1 returns to the method for different content, it is characterized in that, described configuration information comprises the content of pages in the client being shown in after logging in, and this content of pages comprises Word message and pictorial information.
5. according to the configuration information of server, return to the device of different content, it is characterized in that, comprise with lower module:
Obtaining information module: be arranged in master server end, successfully by the request that logs in of client, and obtain the information of the community organization under this user for master server end;
Forwarding module: be arranged in master server end, for master server end, the request that logs in of this client be forwarded to sub server end corresponding to Yu Gai community organization;
Return to configuration information module: be arranged in sub server end, for sub server end, the configuration information being stored in be wherein back to client;
Reading displayed module: be arranged in client, read the configuration information returning and the content of configuration information is shown in to client end interface for client.
6. the configuration information according to server according to claim 5 returns to the device of different content, it is characterized in that, and before obtaining information module, also comprise and log in judge module,
Log in judge module: be arranged in master server end, for master server termination, receive the request that logs in of client, and judge that whether this information logging in request is correct, if so, carry out obtaining information module, if not, return and log in unsuccessfully prompting.
7. the configuration information according to server according to claim 5 returns to the device of different content, it is characterized in that, in described master server, preserve all users' information, a user is corresponding to Yi Ge community organization, and Yi Ge community organization is corresponding to a sub server end.
8. the configuration information according to server according to claim 5 returns to the device of different content, it is characterized in that, described configuration information comprises the content of pages in the client being shown in after logging in, and this content of pages comprises Word message and pictorial information.
CN201410503750.0A 2014-09-26 2014-09-26 The method and apparatus for returning to different content according to the configuration information of server Active CN104219249B (en)

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 true CN104219249A (en) 2014-12-17
CN104219249B 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)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109600443A (en) * 2018-12-14 2019-04-09 北京向上心科技有限公司 Client functionality module backstage operation system and method

Citations (6)

* Cited by examiner, † Cited by third party
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

Patent Citations (6)

* Cited by examiner, † Cited by third party
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

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109600443A (en) * 2018-12-14 2019-04-09 北京向上心科技有限公司 Client functionality module backstage operation system and method
CN109600443B (en) * 2018-12-14 2022-02-08 广州优虎科技有限公司 Client function module background operation system and method

Also Published As

Publication number Publication date
CN104219249B (en) 2018-11-27

Similar Documents

Publication Publication Date Title
US11477139B2 (en) Techniques for messaging bot rich communication
US20170250935A1 (en) Techniques for messaging bot app interactions
CN105426448B (en) Interface display method, apparatus and system
US9910682B2 (en) Simultaneous website and mobile app creation method and system
EP3211840B1 (en) Techniques for messaging bot rich communication
US11151219B2 (en) Generating rich digital documents from limited instructional data
CN109670159A (en) The creation of view and management method, device, electronic equipment and storage medium
CN110489663B (en) Social content control method and device and computer equipment
CN108432200A (en) Allow to access of the limitation to user information while communication
KR20100086677A (en) Method and apparatus for providing community widget
CN109829123A (en) A kind of method for sending information and device
CN102147660B (en) A kind of method and apparatus of the input based on multiple user collaborative editor
CN103019675A (en) Enabling service features within productivity applications
US20200311689A1 (en) Systems and methods for calendar sharing by enterprise web applications
CN103078782A (en) Friend note recommendation note implementation method and system
EP2812860A1 (en) Retrieving availability information from published calendars
KR100926780B1 (en) Wired and wireless widget service system and method
KR101353320B1 (en) System for management contents on social network service
CN103425473B (en) A kind of method and system of open microblogging
KR20160001750A (en) Management system for mobile name card web-based and its method
CN104219249A (en) Method and device for returning different contents according to configuration information of server
CN116471249A (en) Information processing method, information processing device, electronic equipment and storage medium
Hawker Developer's Guide to Social Programming: Building Social Context Using Facebook, Google Friend Connect, and the Twitter API, The
US20150381743A1 (en) System and Method for Dynamic Creation of Distribution Network Software Applications
CN112187837B (en) Communication method and device based on multiple roles and electronic equipment

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