CN109960502A - A kind of software systems bulletin method applied to telecom operators' electronic channel - Google Patents

A kind of software systems bulletin method applied to telecom operators' electronic channel Download PDF

Info

Publication number
CN109960502A
CN109960502A CN201711399828.9A CN201711399828A CN109960502A CN 109960502 A CN109960502 A CN 109960502A CN 201711399828 A CN201711399828 A CN 201711399828A CN 109960502 A CN109960502 A CN 109960502A
Authority
CN
China
Prior art keywords
bulletin
content
request
information
user
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
CN201711399828.9A
Other languages
Chinese (zh)
Other versions
CN109960502B (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.)
Nanjing Xinwang Internetwork Technology Co Ltd
Original Assignee
Nanjing Xinwang Internetwork Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nanjing Xinwang Internetwork Technology Co Ltd filed Critical Nanjing Xinwang Internetwork Technology Co Ltd
Priority to CN201711399828.9A priority Critical patent/CN109960502B/en
Publication of CN109960502A publication Critical patent/CN109960502A/en
Application granted granted Critical
Publication of CN109960502B publication Critical patent/CN109960502B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/34Graphical or visual programming
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/38Creation or generation of source code for implementing user interfaces
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • H04L67/568Storing data temporarily at an intermediate stage, e.g. caching

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

Present invention relates particularly to a kind of software systems applied to telecom operators' electronic channel to announce method, comprising: step 1: in the application service system configuration that will issue bulletin: presetting the content of bulletin and the information of redis cache server in the application service that will issue bulletin;The bulletin content includes the beginning and ending time of bulletin, the particular content of bulletin, bulletin switch;The information of the redis cache server include publication bulletin using public cache server port and IP.Systems Operator carries out publication bulletin;System initializes the bulletin content issued according to the content of the default bulletin in step 1, and the bulletin initialized is cached in nginx caching dictionary with lua script.Step 3: user's request;It identifies user's request, reads bulletin from nginx caching dictionary;If being unsatisfactory for the business interface that above-mentioned condition enters user's request.The risk of manual operation application service and database can be excluded using this method.

Description

A kind of software systems bulletin method applied to telecom operators' electronic channel
Technical field
The invention belongs to mobile Internet communication software fields, and in particular to one kind is applied to telecom operators' electronic channel Software systems announce method.
Background technique
In mobile Internet application system, the maintenance bulletin of system is modified in the page by manual type mostly Hold, then manual setting execute server script carries out script execution before the deadline, to show bulletin;Service level Bulletin is then by way of artificial directly progress page modification or content replacement.It is this to show Systems Bulletin or business public affairs There are the following problems for the solution of announcement: one, being safeguarded by script execution system grade and announce and show, can not carry out system The visualized management of maintenance bulletin content, system maintenance announce script once executing, and content update is irreversible, to cause big It measures user and browses error system maintenance notice information.Two, service level bulletin is by artificial mode, carry out content of pages modification or It is the mode that content is replaced, instead of original business tine information, on the one hand needs to develop to have carried out from the background repeatedly manual modification Some contents of program will cause the duplication of labour of development effort power in this case, exploit natural resources so as to cause waste, another party Face manual operation can also increase the mistake of bulletin.Three, either system maintenance bulletin or service advices are required to original Internet application system program modify to reach and show system maintenance bulletin or service advices, the implementation of this scheme with The degree of coupling of system is very high, to can also destroy the consistency of system version.
In this case it is desirable to which a kind of scripting language that light weight is small and exquisite, is embedded in Internet application system program, for interconnection Net application system program provides the extension of flexible system maintenance bulletin or service advices function, reduce system maintenance bulletin, The degree of coupling of service advices and original Internet application system program, to keep the consistent of Internet application system program Property.
Summary of the invention
1, technical problem to be solved:
The present invention provides a kind of software systems bulletin method applied to telecom operators' electronic channel;This programme uses lightweight Scripting language, be embedded in Internet application system program, provide flexible system maintenance public affairs for Internet application system program The extension of announcement or service advices function reduces system maintenance bulletin, service advices and original Internet application system program Degree of coupling, to keep the consistency of Internet application system program.
2, technical solution:
A kind of software systems bulletin method applied to telecom operators' electronic channel, it is characterised in that: include the following steps
Step 1: in the application service system configuration that will issue bulletin: presetting public affairs in the application service that will issue bulletin The content of announcement and the information of redis cache server;It is described bulletin content include bulletin beginning and ending time, bulletin it is specific in Hold, bulletin switch;The information of the redis cache server include publication bulletin using public cache server Port and IP.
Systems Operator carries out publication bulletin;System is by the bulletin content issued according to the default bulletin in step 1 Content is initialized, and the bulletin initialized is cached in nginx caching dictionary with lua script.Lua script is at this time Fusion, there is no being associated with existing service, relieves Systems Bulletin and service advices and service system in nginx service Coupling, realize the decoupling of announcement systems Yu web services system.By lua announce intercept script, have Systems Bulletin or The service request to server has directly been blocked when service advices, reduces the communication pressure of user's request and server-side. Wherein lua caches script and the unification for carrying out script is serviced by nginx for bulletin interception script and service provides.
Step 3: user's request;It identifies user's request, if user's request is related to announcing, and is being related to bulletin It in effective time, returns to user and is related to the information of bulletin, i.e., read bulletin from nginx caching dictionary;If be unsatisfactory for above-mentioned Condition is to enter the business interface of user's request.
Further, in step 2 further include: cache the bulletin initialized from redis by lua service script and hold It is read in device and is stored in nginx and shared in dictionary caching.
Further, the system configuration is visualization interface;Specifically: it is public that maintenance is carried out by backstage visualization interface It accuses and service advices information is configured, can visually see system maintenance bulletin and service advices information, and can To carry out the verifying of bulletin pushed information by visual page.
Redis be one open source write using ANSI C language, support network, it is memory-based also can persistence day Will type, Key-Value database, and the API of multilingual is provided.The content of bulletin and redis caching are taken in the present invention The information of business device.
It is to be disposed to redis service cluster in step 1.Due to configuring consistency operation cluster server, it is The information push of system maintenance bulletin and service advices needs public caching temporary storing place, redis cluster shared buffer memory clothes It is engaged in carrying out the read-write of system maintenance bulletin and service advices information under the premise of high access rate, had both met system maintenance public affairs The consistency of announcement and service advices, also improves the access rate of system maintenance bulletin and service advices.
Under the web services system of current internet, most systems are all clustered deploy(ment)s, and are carried out by nginx Port load, and amount of access is all that million even millions are other, if the request amount direct request redis of high concurrent is serviced The pressure that will cause redis service is pushed away interim bulletin by redis caching by the configuration of nginx shared buffer memory dictionary It is sent in shared buffer memory dictionary, so that all request of business passes through nginx shared buffer memory dictionary and is read out, largely On relieve the request pressure of redis.
Bulletin is subjected to lua in step 2 and intercepts script exploitation.Lua script is a small and exquisite scripting language, by standard C It writes, can almost be compiled in all operating systems and platform, run.Lua is not provided with powerful library, not only Only as extension script, common configuration file can also be used as, instead of XML, the file formats such as ini, almost in all operations It can compile, run, and be easier to understand and safeguard in system and platform.Foot is intercepted with lua script edit Systems Bulletin This, can easily be embedded in nginx software configuration, without being coupled with web system service, solve to the full extent In addition to the decoupling of Systems Bulletin, service advices and web services system.
Maintenance bulletin is carried out by backstage visualization interface and service advices information is configured, and can visually be seen See system maintenance bulletin and service advices information, and the verifying of bulletin pushed information can be carried out by visual page, subtracts The risk of few manual operation server.
3, the utility model has the advantages that
(1) this method is using the content of default bulletin and the information of redis cache server, when system acquisition is to bulletin, certainly The content that the dynamic content by bulletin imports default bulletin touches version, to exclude the wind of manual operation application service and database Danger.
(2) system maintenance bulletin and service advices are separated with service application in the method, are independent of each other, and are realized public Announcement business carries out decoupling with the application system of deployment and separates.
(3) it is embedded in the method using the lua language scripts of lightweight, so that the service architecture of script is not influenced, and Request is alleviated for the request pressure of server.
(4) in this method system maintenance bulletin and service advices visual configuration, improve bulletin readability and can It is confirmatory, it greatly enhances the correctness of the content of bulletin and announces the scalability for server.
(5) use of the shared dictionary caching of the nginx in this method, the request pressure that the service of reduction caches redis Power, and realize the consistency of the bulletin of cluster service.
Detailed description of the invention
Fig. 1 is flow chart of the invention.
Specific embodiment
The present invention will be described with reference to the accompanying drawing.The present invention as shown in Fig. 1 provides a kind of applied to telecom operation The software systems of quotient's electronic channel announce method, as shown in the picture it can be seen that the function of this method are as follows: (1) system maintenance is announced And service advices service logic carries out decoupling with the application system of deployment and separates.(2) it is carried out using the scripting language of lightweight The interception of nginx request, and resolution request message.(3) visual edit of system maintenance bulletin and service advices content and Verification.(4) displaying of system maintenance bulletin and service advices automation.(5) it solves under group system service environment, system dimension The bulletin content of shield bulletin and service advices can be shared and real-time synchronization updates.(6) in the case of compliant server dilatation Automatization of service retrieval, configuration and supplying system maintenance bulletin and service advices content.
Specifically: a kind of software systems bulletin method applied to telecom operators' electronic channel, it is characterised in that: including Following steps:
Step 1: in the application service system configuration that will issue bulletin: presetting public affairs in the application service that will issue bulletin The content of announcement and the information of redis cache server;It is described bulletin content include bulletin beginning and ending time, bulletin it is specific in Hold, bulletin switch;The information of the redis cache server include publication bulletin using public cache server Port and IP;
Step 2: Systems Operator carries out publication bulletin;System is by the bulletin content issued according to the default public affairs in step 1 The content of announcement is initialized, and the bulletin initialized is cached in nginx caching dictionary with lua script;
Step 3: user's request;It identifies user's request, if user's request is related to announcing, and is being related to the effective of bulletin It in time, returns to user and is related to the information of bulletin, i.e., read bulletin from nginx caching dictionary;If being unsatisfactory for above-mentioned condition Enter the business interface of user's request.
Step 3: user's request;It identifies user's request, if user's request is related to announcing, and is being related to bulletin It in effective time, returns to user and is related to the information of bulletin, i.e., read bulletin from nginx caching dictionary;If be unsatisfactory for above-mentioned Condition is to enter the business interface of user's request.
Further, in step 2 further include: cache the bulletin initialized from redis by lua service script and hold It is read in device and is stored in nginx and shared in dictionary caching.
Further, the system configuration is visualization interface;Specifically: it is public that maintenance is carried out by backstage visualization interface It accuses and service advices information is configured, can visually see system maintenance bulletin and service advices information, and can To carry out the verifying of bulletin pushed information by visual page.
Although the present invention has been described by way of example and in terms of the preferred embodiments, they be not it is for the purpose of limiting the invention, it is any ripe This those skilled in the art is practised, without departing from the spirit and scope of the invention, can make various changes or retouch from working as, therefore guarantor of the invention Shield range should be subject to what claims hereof protection scope was defined.

Claims (3)

1. a kind of software systems applied to telecom operators' electronic channel announce method, it is characterised in that: including following step It is rapid::
Step 1: in the application service system configuration that will issue bulletin: presetting public affairs in the application service that will issue bulletin The content of announcement and the information of redis cache server;It is described bulletin content include bulletin beginning and ending time, bulletin it is specific in Hold, bulletin switch;The information of the redis cache server include publication bulletin using public cache server Port and IP;
Step 2: Systems Operator carries out publication bulletin;System is by the bulletin content issued according to the default public affairs in step 1 The content of announcement is initialized, and the bulletin initialized is cached in nginx caching dictionary with lua script;
Step 3: user's request;It identifies user's request, if user's request is related to announcing, and is being related to the effective of bulletin It in time, returns to user and is related to the information of bulletin, i.e., read bulletin from nginx caching dictionary;If being unsatisfactory for above-mentioned condition Enter the business interface of user's request.
2. a kind of software systems applied to telecom operators' electronic channel according to claim 1 announce method, special Sign is: in step 2 further include: reads the bulletin initialized simultaneously from redis caching container by lua service script Nginx is stored in share in dictionary caching.
3. a kind of software systems applied to telecom operators' electronic channel according to claim 1 announce method, special Sign is: the system configuration is visualization interface;Specifically: maintenance bulletin and business are carried out by backstage visualization interface Notice information is configured, and can visually see system maintenance bulletin and service advices information, and can be by visual Change the verifying that the page carries out bulletin pushed information.
CN201711399828.9A 2017-12-22 2017-12-22 Software system announcement method applied to electronic channel of telecom operator Active CN109960502B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711399828.9A CN109960502B (en) 2017-12-22 2017-12-22 Software system announcement method applied to electronic channel of telecom operator

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711399828.9A CN109960502B (en) 2017-12-22 2017-12-22 Software system announcement method applied to electronic channel of telecom operator

Publications (2)

Publication Number Publication Date
CN109960502A true CN109960502A (en) 2019-07-02
CN109960502B CN109960502B (en) 2022-04-05

Family

ID=67018726

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711399828.9A Active CN109960502B (en) 2017-12-22 2017-12-22 Software system announcement method applied to electronic channel of telecom operator

Country Status (1)

Country Link
CN (1) CN109960502B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103336815A (en) * 2013-06-27 2013-10-02 北京京东尚科信息技术有限公司 System and method of pushing network advertising
WO2016112826A1 (en) * 2015-01-12 2016-07-21 北京京东尚科信息技术有限公司 Method and system for increasing page loading rate
CN106202505A (en) * 2016-07-20 2016-12-07 北京京东尚科信息技术有限公司 Data processing method and system thereof
CN106599153A (en) * 2016-12-07 2017-04-26 河北中废通网络技术有限公司 Multi-data-source-based waste industry search system and method
CN106657258A (en) * 2016-11-04 2017-05-10 成都视达科信息技术有限公司 Realization method and device of safe acceleration middleware based on NGINX+LUA

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103336815A (en) * 2013-06-27 2013-10-02 北京京东尚科信息技术有限公司 System and method of pushing network advertising
WO2016112826A1 (en) * 2015-01-12 2016-07-21 北京京东尚科信息技术有限公司 Method and system for increasing page loading rate
CN106202505A (en) * 2016-07-20 2016-12-07 北京京东尚科信息技术有限公司 Data processing method and system thereof
CN106657258A (en) * 2016-11-04 2017-05-10 成都视达科信息技术有限公司 Realization method and device of safe acceleration middleware based on NGINX+LUA
CN106599153A (en) * 2016-12-07 2017-04-26 河北中废通网络技术有限公司 Multi-data-source-based waste industry search system and method

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
蒲晓阳: "基于nginx和redis高并发web服务负载均衡的研究", 《内江科技》 *

Also Published As

Publication number Publication date
CN109960502B (en) 2022-04-05

Similar Documents

Publication Publication Date Title
CN108536761B (en) Report data query method and server
CN109597661B (en) Service function configuration method and device
CN107577509A (en) A kind of method, terminal and computer-readable recording medium for loading application interface
CN104408366B (en) Android application program authority usage behavior tracking based on Program instrumentation
CN101640587B (en) Data synchronization method and data synchronization device
CN110020278A (en) Displaying, providing method, client and the server of page data
CN104424265B (en) Digital asset management method and system
CN104375808B (en) interface display method and device
CN108848108A (en) Based on mobile Internet+innovation item PDCA process management platform
CN109343937A (en) A kind of distributed computing system of striding equipment deployment
US20080250392A1 (en) Content management system for computer software with dynamic traceability between code and design documents
CN106648682B (en) A kind of dynamic data general framework of embedded system exploitation
CN105518633A (en) Web server system, application development assistance system, multilingual support method in web server system, multi-device support method in web server system, and application development assistance method
CN101162428A (en) Method for acquiring and converting the state of component in the time of operation during software dynamic evolvement
CN104798067A (en) Web server system, dictionary system, dictionary call method, screen control display method, and demonstration application generation method
CN107748746A (en) A kind of method of automatic management entry
CN104219295A (en) Server-side configuration based information display method and system for mobile equipment
CN110389859A (en) Method, equipment and computer program product for copied chunks
CN114297549A (en) Component processing method and device
US20150295984A1 (en) Multi Web Application Management Framework System and Method
US20210326240A1 (en) Framework For Providing Binary Release Isolation For Parts Of A Web Application
CN102103494A (en) Method and device for changing software resource
CN109614084A (en) Web program and its Quick Development Framework, development approach and relevant device
CN109960502A (en) A kind of software systems bulletin method applied to telecom operators' electronic channel
CN112346774A (en) Method and device for generating application installation package

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant