CN109725928A - Gray scale dissemination method, device, equipment and readable storage medium storing program for executing - Google Patents

Gray scale dissemination method, device, equipment and readable storage medium storing program for executing Download PDF

Info

Publication number
CN109725928A
CN109725928A CN201810628212.2A CN201810628212A CN109725928A CN 109725928 A CN109725928 A CN 109725928A CN 201810628212 A CN201810628212 A CN 201810628212A CN 109725928 A CN109725928 A CN 109725928A
Authority
CN
China
Prior art keywords
gray scale
user
dimensional characteristics
mapping table
visited
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201810628212.2A
Other languages
Chinese (zh)
Inventor
黄士保
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ping An Puhui Enterprise Management Co Ltd
Original Assignee
Ping An Puhui Enterprise Management 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 Ping An Puhui Enterprise Management Co Ltd filed Critical Ping An Puhui Enterprise Management Co Ltd
Priority to CN201810628212.2A priority Critical patent/CN109725928A/en
Publication of CN109725928A publication Critical patent/CN109725928A/en
Pending legal-status Critical Current

Links

Abstract

The present invention provides a kind of gray scale dissemination method, comprising: receives the dimensional characteristics data that user is inputted based on visual configuration interface, and establishes gray scale publication mapping table according to the dimensional characteristics data;When receiving the version updating request of user terminal transmission, according to the individual character dimensional characteristics and the corresponding gray scale resource packet of gray scale publication mapping table selection in version updating request;The gray scale resource packet is issued to the user terminal, corresponding application program is updated according to the gray scale resource packet by the user terminal.The present invention also provides a kind of gray scale distributing device, equipment and readable storage medium storing program for executing.The present invention can be improved the convenience and flexibility of gray scale publication, and reduce human cost.

Description

Gray scale dissemination method, device, equipment and readable storage medium storing program for executing
Technical field
The present invention relates to internet area more particularly to a kind of gray scale dissemination method, device, equipment and readable storage mediums Matter.
Background technique
With the rapid development of mobile terminals, mobile terminal becomes the indispensable a part of people's life and work.People Various application programs are installed in the terminal, for expanding the function of mobile terminal, and the application journey installed Sequence needs often to update, and increases new function or repairs problem.But in the escalation process of application program, it will usually occur new and old System caused by the application program of version is incompatible, new version application program is unstable or a large number of users upgrades simultaneously collapses The problems such as bursting.
Currently, to solve the above problems, usual issue object of the selected part user as new edition application, carries out The test of new edition application is in time adjusted new edition application, is then running if test is found the problem Stablize, and when no problem, the application program of final version is issued to whole users.However the operation of existing gray scale publication is mostly to stand Point or program module, need professional to operate, and convenience is lower, and human cost is higher, in addition, existing gray scale is issued, and Different usage scenarios, customer demand and operation demand are not considered, and the flexibility of gray scale publication is lower.
Therefore, the convenience and flexibility of gray scale publication how are improved, and it is urgently to be resolved at present for reducing human cost The problem of.
Summary of the invention
The main purpose of the present invention is to provide a kind of gray scale dissemination method, device, equipment and readable storage medium storing program for executing, it is intended to The convenience and flexibility of gray scale publication are improved, and reduces human cost.
To achieve the above object, the present invention provides a kind of gray scale dissemination method, and the gray scale dissemination method includes following step It is rapid:
The dimensional characteristics data that user is inputted based on visual configuration interface are received, and are built according to the dimensional characteristics data Vertical gray scale issues mapping table;
When receiving the version updating request of user terminal transmission, according to the individual character dimension in version updating request Feature and gray scale publication mapping table select corresponding gray scale resource packet;
The gray scale resource packet is issued to the user terminal, by the user terminal according to the gray scale resource packet more New corresponding application program.
Optionally, establishing the step of gray scale issues mapping table according to the dimensional characteristics data includes:
Each grayscale version coding is obtained from the dimensional characteristics data and each grayscale version encodes corresponding dimension spy Sign;
Corresponding dimensional characteristics are encoded according to each grayscale version coding and each grayscale version, establish gray scale publication mapping Table.
Optionally, according to the individual character dimensional characteristics and gray scale publication mapping table selection pair in version updating request The step of gray scale resource packet answered includes:
Individual character dimensional characteristics are obtained from version updating request, and according to the individual character dimensional characteristics from the gray scale Corresponding gray scale publication mapping relations are selected in publication mapping table;
Grayscale version coding is extracted from gray scale publication mapping relations, and is encoded according to the grayscale version from gray scale Corresponding gray scale resource packet is selected in database.
Optionally, the dimensional characteristics data for receiving user and being inputted based on visual configuration interface, and according to the dimension Degree characteristic was established after the step of gray scale publication mapping table, further includes:
It is determined in gradation data library with interval preset time with the presence or absence of new gray scale resource packet;
If gradation data inventory encodes and is tieed up according to the grayscale version of the new gray scale resource packet in new gray scale resource packet It spends feature and updates the gray scale publication mapping table.
Optionally, the gray scale resource packet is issued to the user terminal, by the user terminal according to the gray scale Resource packet updated after the step of corresponding application program, further includes:
When receiving the business access request of user terminal transmission, the grayscale version in the business access request is determined Whether coding, which is located at the gray scale, is issued mapping table;
If the grayscale version coding in the business access request is located at the gray scale and issues mapping table, according to the industry Grayscale version coding in access request of being engaged in determines server to be visited;
Determine whether the number of users for branching to the server to be visited reaches the current use of the server to be visited Family shunts sum;
If the number of users for branching to the server to be visited is not up to the active user point of the server to be visited Business access request is then branched to the server to be visited by stream sum.
Optionally it is determined that whether the number of users for branching to the server to be visited reaches the server to be visited Active user shunts after the step of sum, further includes:
If the active user that the number of users for branching to the server to be visited reaches the server to be visited shunts Sum, it is determined that the abnormal access number of the server to be visited and total access times;
The abnormal percentage that the abnormal access number accounts for total access times is calculated, and determines the abnormal percentage Whether preset percentage is lower than;
If the exception percentage is lower than preset percentage, the active user point is turned up according to the abnormal percentage Stream sum.
Optionally, include: according to the step that active user's shunting sum is turned up in the abnormal percentage
The inquiry abnormal percentage prestored and user accelerate between mapping table, obtain and the abnormal percentage It accelerates than corresponding user, and the active user is shunted into total accelerate with the user and is added, to be turned up It states active user and shunts sum.
In addition, to achieve the above object, the present invention also provides a kind of gray scale distributing device, the gray scale distributing device packet It includes:
Module is established in reception, the dimensional characteristics data inputted for receiving user based on visual configuration interface, and according to The dimensional characteristics data establish gray scale publication mapping table;
Selecting module, for being asked according to the version updating when receiving the version updating request of user terminal transmission Individual character dimensional characteristics and gray scale publication mapping table in asking select corresponding gray scale resource packet;
Sending module, for the gray scale resource packet to be issued to the user terminal, by the user terminal according to institute It states gray scale resource packet and updates corresponding application program.
In addition, to achieve the above object, the present invention also provides a kind of gray scale distribution apparatus, the gray scale distribution apparatus includes Processor, memory and it is stored in the gray scale release process that can be executed on the memory and by the processor, wherein institute When stating gray scale release process and being executed by the processor, realize such as the step of above-mentioned gray scale dissemination method.
In addition, to achieve the above object, the present invention also provides a kind of readable storage medium storing program for executing, being deposited on the readable storage medium storing program for executing Gray scale release process is contained, wherein realizing such as above-mentioned gray scale dissemination method when the gray scale release process is executed by processor The step of.
The present invention provides a kind of gray scale dissemination method, device, equipment and readable storage medium storing program for executing, and the present invention receives user and is based on The dimensional characteristics data of visual configuration interface input, and gray scale publication mapping table is established according to the dimensional characteristics data, then When receiving the version updating request of user terminal transmission, according to the individual character dimensional characteristics and the ash in version updating request Degree publication mapping table selects corresponding gray scale resource packet, gray scale resource packet is finally issued to user terminal, by user terminal root Corresponding application program is updated according to the gray scale resource packet, by the way that visual configuration interface is arranged, so that amateur developer Gray scale publication operation can be carried out based on visual configuration interface, improved the convenience of gray scale publication, also reduced human cost, Corresponding gray scale publication operation can be carried out based on different usage scenarios, customer demand and operation demand, it is effective to improve The flexibility of gray scale publication.
Detailed description of the invention
Fig. 1 is the hardware structural diagram for the gray scale distribution apparatus that various embodiments of the present invention are related to;
Fig. 2 is the flow diagram of gray scale dissemination method first embodiment of the present invention;
Fig. 3 is the refinement flow diagram of step S101 in first embodiment of the invention;
Fig. 4 is the flow diagram of gray scale dissemination method second embodiment of the present invention;
Fig. 5 is the flow diagram of gray scale dissemination method 3rd embodiment of the present invention;
Fig. 6 is the functional block diagram of gray scale distributing device first embodiment of the present invention.
The embodiments will be further described with reference to the accompanying drawings for the realization, the function and the advantages of the object of the present invention.
Specific embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
The present embodiments relate to gray scale dissemination method be mainly used in gray scale distribution apparatus, which can To be that PC (personal computer personal computer), portable computer, mobile terminal etc. have display and processing function Equipment.
Referring to Fig.1, Fig. 1 is the hardware structural diagram of gray scale distribution apparatus involved in the embodiment of the present invention.This In inventive embodiments, gray scale distribution apparatus may include (such as the central processing unit Central Processing of processor 1001 Unit, CPU), communication bus 1002, user interface 1003, network interface 1004, memory 1005.Wherein, communication bus 1002 For realizing the connection communication between these components;User interface 1003 may include display screen (Display), input unit ratio Such as keyboard (Keyboard);Network interface 1004 optionally may include that (such as WI-FI connects standard wireline interface and wireless interface Mouthful);Memory 1005 can be high speed RAM memory, be also possible to stable memory (non-volatile memory), Such as magnetic disk storage, memory 1005 optionally can also be the storage device independently of aforementioned processor 1001.This field Technical staff is appreciated that hardware configuration shown in Fig. 1 and does not constitute a limitation of the invention, and may include more than illustrating Or less component, perhaps combine certain components or different component layouts.
With continued reference to Fig. 1, the memory 1005 in Fig. 1 as a kind of readable storage medium storing program for executing may include operating system, net Network communication module and gray scale release process.In Fig. 1, network communication module be mainly used for connect server, with server into Row data communication;And processor 1001 can call the gray scale release process stored in memory 1005, and execute of the invention real The gray scale dissemination method of example offer is provided.
The embodiment of the invention provides a kind of gray scale dissemination methods.
It is the flow diagram of gray scale dissemination method first embodiment of the present invention referring to Fig. 2, Fig. 2.
In the present embodiment, which is realized by gray scale distribution apparatus, which can be PC, the palm Upper computer peace plate apparatus such as computer is chosen as equipment shown in FIG. 1, the gray scale dissemination method the following steps are included:
Step S101 receives the dimensional characteristics data that user is inputted based on visual configuration interface, and according to dimensional characteristics Data establish gray scale publication mapping table;
Step S102, when receive user terminal transmission version updating request when, according to version updating request in Property dimensional characteristics and gray scale publication mapping table select corresponding gray scale resource packet;
Gray scale resource packet is issued to user terminal by step S103, is updated and is corresponded to according to gray scale resource packet by user terminal Application program.
Usual issue object of the selected part user as new edition application, carries out the survey of new edition application Examination is in time adjusted new edition application if test is found the problem, then stable, and when no problem, to Whole users issue the application program of final version.However the operation of existing gray scale publication is mostly website or program module, is needed Professional's operation, convenience is lower, and human cost is higher, in addition, existing gray scale is issued, does not consider different use fields Scape, customer demand and operation demand, the flexibility of gray scale publication are lower.In view of the above problem, one is proposed in the present embodiment Kind gray scale dissemination method, the specific steps of gray scale dissemination method described in detail below:
Step S101 receives the dimensional characteristics data that user is inputted based on visual configuration interface, and according to dimensional characteristics Data establish gray scale publication mapping table;
In the present embodiment, equipment is provided with a visual configuration interface, and user can carry out gray scale by the visualization interface Publication operation, specifically, equipment shows visual configuration in the input instruction for receiving the dimensional characteristics data of user's triggering Interface, and the dimensional characteristics data that user is inputted based on the visual configuration interface are received, and build according to the dimensional characteristics data Vertical gray scale issues mapping table.Wherein, dimensional characteristics data include but is not limited to grayscale version coding and dimensional characteristics information, dimension Characteristic information includes but is not limited to IP address, User ID, geographical location, terminal characteristic information and user's characteristic information, and terminal is special Reference breath includes but is not limited to resolution ratio, memory and CPU etc., and user's characteristic information includes but is not limited to age and gender.
Specifically, include: referring to Fig. 3, step S101
Step S1011, obtains each grayscale version coding from dimensional characteristics data and each grayscale version coding is corresponding Dimensional characteristics;
In the present embodiment, after equipment receives the dimensional characteristics data that user is inputted based on visual configuration interface, from Each grayscale version coding is obtained in the dimensional characteristics data and each grayscale version encodes corresponding dimensional characteristics, wherein gray scale For uniquely indicating gray scale resource packet, dimensional characteristics include but is not limited to IP address, User ID, geographical location, divide version coding Resolution, memory, CPU, age and gender.
Step S1012 encodes corresponding dimensional characteristics according to each grayscale version coding and each grayscale version, establishes gray scale Issue mapping table.
In the present embodiment, equipment obtains each grayscale version coding and each grayscale version coding from the dimensional characteristics data After corresponding dimensional characteristics, corresponding dimensional characteristics are encoded according to each grayscale version coding and each grayscale version, establish ash Degree publication mapping table, wherein gray scale publication mapping table includes single dimension mapping relations and various dimensions mapping relations, single dimension mapping Relationship is single dimension feature (IP address, User ID, geographical location, terminal characteristic information or user's characteristic information) and grayscale version Mapping relations between coding, various dimensions mapping relations are various dimensions feature (IP address, User ID, geographical location, terminal feature The feature of at least two dimensions in information and user's characteristic information) and grayscale version coding between mapping relations.
For example, the dimensional characteristics data include 3 grayscale version codings, respectively grayscale version encodes A1, grayscale version It encodes A2 and grayscale version encodes A3, and the corresponding dimensional characteristics of grayscale version coding A1 are that age of user was in 20-40 years old, The corresponding dimensional characteristics of grayscale version coding A2 are that geographical location is located at X province, and the corresponding dimensional characteristics of grayscale version coding A3 are Age of user was in 20-40 years old, and reason position is located at Y province, then the gray scale publication mapping table established is compiled comprising grayscale version Code A1 and age of user are in the age of user list mapping relations (age of user-grayscale version of this dimensional characteristics in 20-40 years old Coding A1), grayscale version coding A2 and geographical location be located at X save this dimensional characteristics geographical location list mapping relations (geography Position-grayscale version encodes A2) and grayscale version encodes A3 and geographical location is located at Y province, and age of user is in 20-40 The more mapping relations in age position of the two dimensional characteristics in year (geographical location and age of user-grayscale version encode A3).
In the present embodiment, the dimensional characteristics data of each grayscale version of application program can also be directly acquired, and being based on should Dimensional characteristics data establish gray scale publication mapping table, specially the gray scale resource packet of reception developer upload and gray scale money Corresponding dimensional characteristics are wrapped in source, and the dimensional characteristics and the grayscale version of gray scale resource packet coding are associated mapping, so Afterwards by the grayscale version coding and the preset gray scale publication mapping table of dimensional characteristics write-in after relationship maps.
Step S102, when receive user terminal transmission version updating request when, according to version updating request in Property dimensional characteristics and gray scale publication mapping table select corresponding gray scale resource packet;
In the present embodiment, equipment after establishing gray scale publication mapping table, by the gray scale of foundation publication mapping table store to Gateway component, then in the version updating request for receiving user terminal transmission, according to the individual character in version updating request Dimensional characteristics and gray scale publication mapping table select corresponding gray scale resource packet, wherein version updating request carries individual character The current gray level version of dimensional characteristics and application program coding, the individual character dimensional characteristics include be not limited to specific IP address, Specific User ID, specific geographical location, specific terminal characteristic information and specific user's characteristic information, as IP address is 116.30.197.66, User ID is Zhang San, geographical location is the city B, the A province area the C street D community F, terminal characteristic information is point Resolution X and memory Y, user's characteristic information is male, and 28 years old.
Specifically, in the present embodiment, step S102 includes:
Step a1 obtains individual character dimensional characteristics from version updating request, and is issued according to individual character dimensional characteristics from gray scale Corresponding gray scale publication mapping relations are selected in mapping table;
In the present embodiment, equipment from version updating request in obtain individual character dimensional characteristics (specific IP address, User ID, Geographical location, terminal characteristic information and user's characteristic information etc.), and according to the individual character dimensional characteristics from gray scale publication mapping table Corresponding gray scale publication mapping relations are selected, that is, determine whether the individual character dimensional characteristics meet gray scale publication condition and (determine specific IP address, User ID, geographical location, terminal characteristic information and user's characteristic information etc. whether be contained in gray scale publication mapping In the dimensional characteristics of relationship).
Step a2 extracts grayscale version coding from gray scale publication mapping relations, and is encoded according to grayscale version from gray scale Corresponding gray scale resource packet is selected in database.
In the present embodiment, after selecting corresponding gray scale publication mapping relations, mentioned from gray scale publication mapping relations It takes grayscale version to encode, and corresponding gray scale resource packet is selected from gradation data library according to grayscale version coding.For example, gray scale Publication mapping table includes that grayscale version coding A1 is reflected with age of user in the age of user list of this dimensional characteristics in 20-40 years old Relationship (age of user-grayscale version coding A1), grayscale version coding A2 and geographical location is penetrated to be located at X and save this dimensional characteristics Geographical location list mapping relations (geographical location-grayscale version encodes A2) and grayscale version coding A3 and geographical location are located at Y It saves, and age of user is in the more mapping relations in age position (geographical location and the user year of the two dimensional characteristics in 20-40 years old Age-grayscale version encodes A3), individual character dimensional characteristics are that geographical location is the city B, the Y province area the C street D community F and the age is 30 Then inquire gray scale publication mapping table, it is known that the corresponding gray scale of above-mentioned individual character dimensional characteristics issues mapping relations are as follows: geographical location in year A3 is encoded with age of user-grayscale version, then the gray scale resource packet selected encodes the corresponding gray scale resource packet of A3 for grayscale version.
Gray scale resource packet is issued to user terminal by step S103, is updated and is corresponded to according to gray scale resource packet by user terminal Application program.
In the present embodiment, the gray scale resource packet of selection is issued to user terminal by equipment, by user terminal according to the gray scale Resource packet updates corresponding application program, i.e., parses to the gray scale resource packet, obtains application program identification and program code, Be then based on the application program identification and determine application program to be updated, and according to the program code to the application program to be updated into Row updates.
In the present embodiment, the dimensional characteristics data that user is inputted based on visual configuration interface are received, and according to the dimension Characteristic establishes gray scale publication mapping table, then when receiving the version updating request of user terminal transmission, according to the version Individual character dimensional characteristics and gray scale publication mapping table in this update request select corresponding gray scale resource packet, finally provide gray scale Source packet is issued to user terminal, updates corresponding application program according to the gray scale resource packet by user terminal, visual by being arranged Change configuration interface, so that amateur developer may be based on visual configuration interface and carry out gray scale publication operation, improves gray scale The convenience of publication, also reduces human cost, can also based on different usage scenarios, customer demand and operation demand into The corresponding gray scale publication operation of row, the effective flexibility for improving gray scale publication.
Further, referring to Fig. 4, it is based on above-mentioned first embodiment, propose gray scale dissemination method of the present invention second is real Example is applied, the difference with previous embodiment is, after step S101, gray scale dissemination method further include:
Step S104 is determined in gradation data library with interval preset time with the presence or absence of new gray scale resource packet;
It should be noted that the present invention is based on previous embodiments to propose a kind of specific update side of gray scale publication mapping table Formula is only explained below, other to can refer to previous embodiment.
In the present embodiment, equipment counts gray scale resource packet in gradation data library when gray scale publication mapping table establishes completion Initial storage number, and record the initial storage number, then determine in gradation data library whether deposit with interval preset time In new gray scale resource packet, specially with the storage number of gray scale resource packet in interval preset time statistics gradation data library, and really Whether the storage number for determining gray scale resource packet in gradation data library is higher than initial storage number, if gray scale provides in gradation data library The storage number of source packet is higher than initial storage number, it is determined that gradation data inventory is in new gray scale resource packet.
Step S105, if gradation data inventory compiles in new gray scale resource packet according to the grayscale version of new gray scale resource packet Code and dimensional characteristics update gray scale and issue mapping table.
In the present embodiment, equipment is determining gradation data inventory in new gray scale resource packet, according to new gray scale resource packet Grayscale version coding and dimensional characteristics update gray scale and issue mapping table, specially first determine new gray scale resource packet, i.e. reading gray scale The grayscale version coding of each gray scale resource packet in database, and grayscale version coding is not in gray scale publication mapping table Gray scale resource packet is determined as new gray scale resource packet, then obtains the dimensional characteristics of new gray scale resource packet, and by new gray scale resource packet Dimensional characteristics and corresponding grayscale version coding be associated, so that gray scale publication mapping relations are obtained, finally by the gray scale Gray scale publication mapping table is written in publication mapping relations, to update gray scale publication mapping table.
In the present embodiment, it can be compiled based on the grayscale version of new gray scale resource packet when determining has new gray scale resource packet Code and dimensional characteristics update gray scale and issue mapping table, realize automatically updating for gray scale publication mapping table, effective to improve gray scale hair The update efficiency of cloth mapping table.
Further, referring to Fig. 5, above-mentioned first or second embodiments is based on, gray scale dissemination method of the present invention is proposed 3rd embodiment, the difference with previous embodiment are, after step S103, the gray scale dissemination method further include:
Step 106, when receiving the business access request of user terminal transmission, the gray scale in business access request is determined Whether version coding, which is located at gray scale, is issued mapping table;
It should be noted that proposing a kind of specific shunting side of business access request the present invention is based on previous embodiment Formula is only explained below, other to can refer to previous embodiment.
In the present embodiment, user terminal is based on after the corresponding application program of gray scale resource packet update, detects business access Instruction, and when detecting business access instruction, it is sent to equipment and carries the business access request that grayscale version encodes, when connecing When receiving the business access request of user terminal transmission, equipment determines whether the grayscale version coding in business access request is located at Gray scale issues mapping table, that is, determines whether the access user of business access request is gray scale user, if in business access request Grayscale version coding be located at gray scale issue mapping table, then can determine business access request access user be gray scale user, If the grayscale version coding in business access request is not located at gray scale publication mapping table, business access request can be determined Accessing user is not gray scale user.
Step 107, it if the grayscale version coding in business access request is located at gray scale and issues mapping table, is visited according to business Ask that the grayscale version coding in request determines server to be visited;
In the present embodiment, equipment determine business access request in grayscale version coding be located at gray scale issue mapping table, I.e. business access request access user be gray scale user, then according to business access request in grayscale version coding determine wait visit It asks server, specially inquires the mapping table between the grayscale version coding prestored and the IP address of server to be visited, IP address corresponding with grayscale version coding is obtained, and the corresponding server of the IP address is determined as server to be visited.
Step 108, determine whether the number of users for branching to server to be visited reaches the current use of server to be visited Family shunts sum;
In the present embodiment, equipment is after determining server to be visited, and further determination branches to the service to be visited The active user whether number of users of device reaches server to be visited shunts sum, specially inquires the active user point prestored It is total to obtain active user's shunting corresponding with the IP address of the server to be visited for the mapping table of stream sum and IP address Number, and the active user of the number of users for branching to server to be visited and the server to be visited is shunted into sum and is compared Compared with.
Step 109, if the number of users for branching to server to be visited is not up to the active user point of server to be visited Business access request is then branched to server to be visited by stream sum.
In the present embodiment, equipment will branch to the current use of the number of users and the server to be visited of server to be visited After family shunting sum is compared, determine that the number of users for branching to server to be visited is not up to working as server to be visited Preceding user shunts sum, then business access request is branched to the server to be visited, in specific implementation, if branched to The active user that the number of users of server to be visited reaches server to be visited shunts sum, then by business access request point It flow to service server.
In the present embodiment, business access request is branched into grayscale version and encodes corresponding server, so that a service Device provides business access service for the application program of a version, can a certain version application program when something goes wrong, no It influences server and provides service for the application program of other versions, reduce risks.
Further, it is based on above-mentioned 3rd embodiment, proposes the fourth embodiment of gray scale dissemination method of the present invention, and it is preceding The difference for stating embodiment is, after step S108, further includes:
Step b, if the active user that the number of users for branching to server to be visited reaches server to be visited shunts always Number, it is determined that the abnormal access number of server to be visited and total access times;
It should be noted that proposing a kind of specific tune of active user's shunting sum the present invention is based on previous embodiment Perfect square formula, is only explained below, other to can refer to previous embodiment.
In the present embodiment, equipment will branch to the current use of the number of users and the server to be visited of server to be visited After family shunting sum is compared, determine that the number of users for branching to server to be visited reaches the current of server to be visited User shunts sum, it is determined that it is to be visited specially to record this for the abnormal access number of server to be visited and total access times The access information returned based on business access request is serviced, and is stored to database, then branches to clothes to be visited in determination When the active user that the number of users of business device reaches server to be visited shunts sum, the access information in the database is counted Total number, i.e., total access times and access information are the total number of access exception, i.e. abnormal access number.
Step c calculates the abnormal percentage of the total access times of abnormal access number Zhan, and determines whether abnormal percentage is low In preset percentage;
In the present embodiment, equipment calculates after the abnormal access number and total access times for determining server to be visited The abnormal access number accounts for the abnormal percentage of total access times, that is, calculates the ratio that abnormal access number accounts for total access times Example, and the ratio is converted into percentages, abnormal percentage is obtained, and determine whether abnormal percentage is lower than default percentage Than.It should be noted that above-mentioned preset percentage can be configured by those skilled in the art based on actual conditions, the present embodiment This is not especially limited.
Step d is turned up active user according to abnormal percentage and shunts always if abnormal percentage is lower than preset percentage Number.
In the present embodiment, if abnormal high percentage, in preset percentage, equipment generates prompting message, if abnormal hundred Divide than being lower than preset percentage, then it is total according to the height-regulating active user's shunting of abnormal percentage, that is, it determines locating for abnormal percentage Percentage-proportion interval, inquire the percentage-proportion interval prestored and user accelerate between mapping table, obtain and abnormal hundred Point user more corresponding than locating percentage-proportion interval accelerates, and active user is shunted sum and the user and is accelerated phase Add, shunts sum so that active user is turned up.It should be noted that above-mentioned percentage-proportion interval and user accelerate between mapping Relation table can be configured by those skilled in the art based on actual conditions, and the present embodiment is not especially limited this.
Specifically, in the present embodiment, step d includes:
Step d, inquire the abnormal percentage prestored and user accelerate between mapping table, obtain and abnormal hundred Divide and accelerate than corresponding user, and active user is shunted into total accelerate with the user and is added, it is current to be turned up User shunts sum.
In the present embodiment, equipment inquires the abnormal percentage prestored when determining that abnormal percentage is lower than preset percentage With user accelerate between mapping table, obtain and accelerate with the corresponding user of exception percentage, and will currently use Family shunts total accelerate with the user and is added, and shunts sum so that active user is turned up.It should be noted that above-mentioned exception hundred Point than with user accelerate between mapping table can be configured by those skilled in the art based on actual conditions, this reality It applies example and this is not especially limited.
In the present embodiment, the current use of server to be visited can be reached in the number of users for branching to server to be visited When family shunts sum, in the case where meeting user and shunting total regularization condition, the active user point of adjust automatically server to be visited Stream sum, the user for gradually increasing server to be visited shunt sum, reduce each version application program bring early period business wind Danger.
In addition, the embodiment of the present invention also provides a kind of gray scale distributing device.
It is the functional block diagram of gray scale distributing device first embodiment of the present invention referring to Fig. 6, Fig. 6.
Gray scale distributing device of the present invention is virtual bench, is stored in the memory 1005 of gray scale distribution apparatus shown in Fig. 1, It is functional for realizing the institute of gray scale release process;When each module of gray scale distributing device is executed by processor 1001, receives and use The dimensional characteristics data that family is inputted based on visual configuration interface, and gray scale publication mapping is established according to the dimensional characteristics data Table;When receiving the version updating request of user terminal transmission, according to the individual character dimensional characteristics in version updating request Corresponding gray scale resource packet is selected with gray scale publication mapping table;The gray scale resource packet is issued to the user terminal, Corresponding application program is updated according to the gray scale resource packet by the user terminal.
Specifically, in the present embodiment, the gray scale distributing device includes:
Module 101 is established in reception, the dimensional characteristics data inputted for receiving user based on visual configuration interface, and root Gray scale publication mapping table is established according to the dimensional characteristics data;
Selecting module 102, for when receive user terminal transmission version updating request when, according to the version updating Individual character dimensional characteristics and gray scale publication mapping table in request select corresponding gray scale resource packet;
Sending module 103, for the gray scale resource packet to be issued to the user terminal, by the user terminal according to The gray scale resource packet updates corresponding application program.
Further, the reception establishes module 101 and includes:
Acquiring unit, for obtaining each grayscale version coding and each grayscale version coding from the dimensional characteristics data Corresponding dimensional characteristics;
Unit is established, for encoding corresponding dimensional characteristics according to each grayscale version coding and each grayscale version, is established Gray scale issues mapping table.
Further, the selecting module 102, is also used to:
Individual character dimensional characteristics are obtained from version updating request, and according to the individual character dimensional characteristics from the gray scale Corresponding gray scale publication mapping relations are selected in publication mapping table;
Grayscale version coding is extracted from gray scale publication mapping relations, and is encoded according to the grayscale version from gray scale Corresponding gray scale resource packet is selected in database.
Further, the gray scale distributing device further include:
First determining module, for being determined in gradation data library with interval preset time with the presence or absence of new gray scale resource packet;
Update module, if for gradation data inventory in new gray scale resource packet, according to the ash of the new gray scale resource packet It spends version coding and dimensional characteristics updates the gray scale and issue mapping table.
Further, the gray scale distributing device further include:
Second determining module, for determining that the business is visited when receiving the business access request of user terminal transmission Ask whether the grayscale version coding in request is located at the gray scale and issues mapping table;
Second determining module, if the grayscale version coding being also used in the business access request is located at the gray scale Mapping table is issued, then server to be visited is determined according to the grayscale version coding in business access request;
Second determining module is also used to determine whether the number of users for branching to the server to be visited reaches institute The active user for stating server to be visited shunts sum;
Diverter module, if the number of users for branching to the server to be visited is not up to the server to be visited Active user shunt sum, then by the business access request branch to the server to be visited.
Further, the gray scale distributing device further include:
Determining module, if the number of users for branching to the server to be visited reaches the server to be visited Active user shunts sum, it is determined that the abnormal access number of the server to be visited and total access times;
Computing module accounts for the abnormal percentage of total access times for calculating the abnormal access number, and determines Whether the exception percentage is lower than preset percentage;
Module is adjusted, if being lower than preset percentage for the abnormal percentage, is turned up according to the abnormal percentage The active user shunts sum.
Further, the adjustment module, is also used to:
The inquiry abnormal percentage prestored and user accelerate between mapping table, obtain and the abnormal percentage It accelerates than corresponding user, and the active user is shunted into total accelerate with the user and is added, to be turned up It states active user and shunts sum.
Wherein, each in the function realization and above-mentioned gray scale dissemination method embodiment of modules in above-mentioned gray scale distributing device Step is corresponding, and function and realization process no longer repeat one by one here.
In addition, the embodiment of the present invention also provides a kind of readable storage medium storing program for executing.
Gray scale release process is stored on readable storage medium storing program for executing of the present invention, wherein the gray scale release process is held by processor When row, realize such as the step of above-mentioned gray scale dissemination method.
Wherein, gray scale release process, which is performed realized method, can refer to each reality of gray scale dissemination method of the present invention Example is applied, details are not described herein again.
It should be noted that, in this document, the terms "include", "comprise" or its any other variant are intended to non-row His property includes, so that the process, method, article or the system that include a series of elements not only include those elements, and And further include other elements that are not explicitly listed, or further include for this process, method, article or system institute it is intrinsic Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including being somebody's turn to do There is also other identical elements in the process, method of element, article or system.
The serial number of the above embodiments of the invention is only for description, does not represent the advantages or disadvantages of the embodiments.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side Method can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but in many cases The former is more preferably embodiment.Based on this understanding, technical solution of the present invention substantially in other words does the prior art The part contributed out can be embodied in the form of software products, which is stored in one as described above In storage medium (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that terminal device (it can be mobile phone, Computer, server, air conditioner or network equipment etc.) execute method described in each embodiment of the present invention.
The above is only a preferred embodiment of the present invention, is not intended to limit the scope of the invention, all to utilize this hair Equivalent structure or equivalent flow shift made by bright specification and accompanying drawing content is applied directly or indirectly in other relevant skills Art field, is included within the scope of the present invention.

Claims (10)

1. a kind of gray scale dissemination method, which is characterized in that the gray scale dissemination method the following steps are included:
The dimensional characteristics data that user is inputted based on visual configuration interface are received, and establish ash according to the dimensional characteristics data Degree publication mapping table;
When receiving the version updating request of user terminal transmission, according to the individual character dimensional characteristics in version updating request Corresponding gray scale resource packet is selected with gray scale publication mapping table;
The gray scale resource packet is issued to the user terminal, by the user terminal according to gray scale resource packet update pair The application program answered.
2. gray scale dissemination method as described in claim 1, which is characterized in that establish gray scale hair according to the dimensional characteristics data The step of cloth mapping table includes:
Each grayscale version coding is obtained from the dimensional characteristics data and each grayscale version encodes corresponding dimensional characteristics;
Corresponding dimensional characteristics are encoded according to each grayscale version coding and each grayscale version, establish gray scale publication mapping table.
3. gray scale dissemination method as described in claim 1, which is characterized in that tieed up according to the individual character in version updating request Degree feature and the gray scale issue the step of mapping table selects corresponding gray scale resource packet
Individual character dimensional characteristics are obtained from version updating request, and are issued according to the individual character dimensional characteristics from the gray scale Corresponding gray scale publication mapping relations are selected in mapping table;
Grayscale version coding is extracted from gray scale publication mapping relations, and is encoded according to the grayscale version from gradation data Corresponding gray scale resource packet is selected in library.
4. gray scale dissemination method as described in claim 1, which is characterized in that the reception user is based on visual configuration interface The dimensional characteristics data of input, and after the step of establishing gray scale publication mapping table according to the dimensional characteristics data, further includes:
It is determined in gradation data library with interval preset time with the presence or absence of new gray scale resource packet;
If gradation data inventory is in new gray scale resource packet, according to the grayscale version of new gray scale resource packet coding and dimension spy Sign updates the gray scale and issues mapping table.
5. such as gray scale dissemination method of any of claims 1-4, which is characterized in that issue the gray scale resource packet To the user terminal, after the step of updating corresponding application program according to the gray scale resource packet by the user terminal, Further include:
When receiving the business access request of user terminal transmission, the grayscale version coding in the business access request is determined Whether it is located at the gray scale and issues mapping table;
If the grayscale version coding in the business access request is located at the gray scale and issues mapping table, visited according to the business Ask that the grayscale version coding in request determines server to be visited;
Determine whether the number of users for branching to the server to be visited reaches the active user point of the server to be visited Stream sum;
If the active user that the number of users for branching to the server to be visited is not up to the server to be visited shunts total Business access request is then branched to the server to be visited by number.
6. gray scale dissemination method as claimed in claim 5, which is characterized in that determine the use for branching to the server to be visited The active user whether amount amount reaches the server to be visited shunts after the step of sum, further includes:
If the active user that the number of users for branching to the server to be visited reaches the server to be visited shunts sum, Then determine the server to be visited abnormal access number and total access times;
The abnormal percentage that the abnormal access number accounts for total access times is calculated, and whether determines the abnormal percentage Lower than preset percentage;
If the exception percentage is lower than preset percentage, it is total that active user's shunting is turned up according to the abnormal percentage Number.
7. gray scale dissemination method as claimed in claim 6, which is characterized in that be turned up according to the abnormal percentage described current User shunts total step
The inquiry abnormal percentage prestored and user accelerate between mapping table, obtain and the abnormal percentage pair The user answered accelerates, and the active user is shunted total accelerate with the user and is added, to work as described in height-regulating Preceding user shunts sum.
8. a kind of gray scale distributing device, which is characterized in that the gray scale distributing device includes:
Module is established in reception, the dimensional characteristics data inputted for receiving user based on visual configuration interface, and according to described Dimensional characteristics data establish gray scale publication mapping table;
Selecting module, for when receive user terminal transmission version updating request when, according to the version updating request in Individual character dimensional characteristics and gray scale publication mapping table select corresponding gray scale resource packet;
Sending module, for the gray scale resource packet to be issued to the user terminal, by the user terminal according to the ash It spends resource packet and updates corresponding application program.
9. a kind of gray scale distribution apparatus, which is characterized in that the gray scale distribution apparatus includes processor, memory and storage On the memory and the gray scale release process that can be executed by the processor, wherein the gray scale release process is by the place When managing device and executing, the step of realizing gray scale dissemination method as described in any one of claims 1 to 7.
10. a kind of readable storage medium storing program for executing, which is characterized in that gray scale release process is stored on the readable storage medium storing program for executing, wherein When the gray scale release process is executed by processor, realizing the gray scale dissemination method as described in any one of claims 1 to 7 Step.
CN201810628212.2A 2018-06-15 2018-06-15 Gray scale dissemination method, device, equipment and readable storage medium storing program for executing Pending CN109725928A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810628212.2A CN109725928A (en) 2018-06-15 2018-06-15 Gray scale dissemination method, device, equipment and readable storage medium storing program for executing

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810628212.2A CN109725928A (en) 2018-06-15 2018-06-15 Gray scale dissemination method, device, equipment and readable storage medium storing program for executing

Publications (1)

Publication Number Publication Date
CN109725928A true CN109725928A (en) 2019-05-07

Family

ID=66293852

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810628212.2A Pending CN109725928A (en) 2018-06-15 2018-06-15 Gray scale dissemination method, device, equipment and readable storage medium storing program for executing

Country Status (1)

Country Link
CN (1) CN109725928A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110532008A (en) * 2019-08-29 2019-12-03 深圳前海环融联易信息科技服务有限公司 A kind of product gray scale dissemination method, device, computer equipment and storage medium
CN110908688A (en) * 2019-11-26 2020-03-24 中国银行股份有限公司 Application gray level publishing method and device
CN111158715A (en) * 2019-12-19 2020-05-15 中国平安财产保险股份有限公司 Gray scale release control method and system
CN111782235A (en) * 2019-09-27 2020-10-16 北京沃东天骏信息技术有限公司 Data upgrading and querying method and device
CN115357280A (en) * 2022-08-09 2022-11-18 湖南木屋网络科技有限公司 Software version management method, device, server and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160170712A1 (en) * 2014-12-15 2016-06-16 Beijing Jinher Software Co., Ltd Method for integrally implementing development and release of APP
CN106648562A (en) * 2015-10-29 2017-05-10 腾讯科技(深圳)有限公司 Version updating method and device
CN107864175A (en) * 2017-08-24 2018-03-30 平安普惠企业管理有限公司 Gray scale distribution control method, device, equipment and storage medium

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160170712A1 (en) * 2014-12-15 2016-06-16 Beijing Jinher Software Co., Ltd Method for integrally implementing development and release of APP
CN106648562A (en) * 2015-10-29 2017-05-10 腾讯科技(深圳)有限公司 Version updating method and device
CN107864175A (en) * 2017-08-24 2018-03-30 平安普惠企业管理有限公司 Gray scale distribution control method, device, equipment and storage medium

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110532008A (en) * 2019-08-29 2019-12-03 深圳前海环融联易信息科技服务有限公司 A kind of product gray scale dissemination method, device, computer equipment and storage medium
CN111782235A (en) * 2019-09-27 2020-10-16 北京沃东天骏信息技术有限公司 Data upgrading and querying method and device
CN110908688A (en) * 2019-11-26 2020-03-24 中国银行股份有限公司 Application gray level publishing method and device
CN111158715A (en) * 2019-12-19 2020-05-15 中国平安财产保险股份有限公司 Gray scale release control method and system
CN111158715B (en) * 2019-12-19 2024-02-06 中国平安财产保险股份有限公司 Gray release control method and system
CN115357280A (en) * 2022-08-09 2022-11-18 湖南木屋网络科技有限公司 Software version management method, device, server and storage medium

Similar Documents

Publication Publication Date Title
CN109725928A (en) Gray scale dissemination method, device, equipment and readable storage medium storing program for executing
CN102640474B (en) Optimizing caching period of location data for network based location services
CN102137155B (en) Method for handling communication network quality complaints based on customer perception
CN108510389A (en) Intelligent contract call method, equipment and readable storage medium storing program for executing based on block chain
CN111177222B (en) Model testing method and device, computing equipment and storage medium
CN104704773A (en) Consistency-based service-level agreements in cloud storage environments
US11481257B2 (en) Green cloud computing recommendation system
CN103150696A (en) Method and device for selecting potential customer of target value-added service
CN103250376A (en) Method and system for carrying out predictive analysis relating to nodes of a communication network
CN109982257A (en) Determine method, apparatus, the system of mobile user affiliation region
Wellmann Are OTT messaging and mobile telecommunication an interrelated market? An empirical analysis
CN110322029A (en) Resource recommendation method, device and electronic equipment
CN110198327A (en) A kind of data transmission method and relevant device
CN109995858A (en) A kind of scenic spot service push method and system based on LBS-SNS
US11681964B2 (en) System and method for optimizing design, workflows, performance, and configurations based on design elements
KR20210007155A (en) Network server to manage user subscription and method of operating thereof
US20130006762A1 (en) System and method for collection and display of time sensitive information
CA2530289A1 (en) Managing network-accessible accounts
US20180089774A1 (en) Method for automatic property valuation
CN111414191A (en) Gray scale publishing method and device for small program
CN115695210A (en) Cloud server deployment method and device, electronic equipment and storage medium
KR20120124931A (en) User-definable Process-based Management System for Urban Planning and Recording Media for the Same
CN109672590A (en) Collecting method, device, equipment and computer readable storage medium
CN109672984A (en) User location portrait appraisal procedure, assessment equipment and the storage medium of financial business
Pearce et al. Technology, data, and people: opportunities and pitfalls of using ICT to monitor sustainable WASH service delivery

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