CN109542475A - Data-updating method, device, storage medium and the server of system multi version - Google Patents

Data-updating method, device, storage medium and the server of system multi version Download PDF

Info

Publication number
CN109542475A
CN109542475A CN201811231444.0A CN201811231444A CN109542475A CN 109542475 A CN109542475 A CN 109542475A CN 201811231444 A CN201811231444 A CN 201811231444A CN 109542475 A CN109542475 A CN 109542475A
Authority
CN
China
Prior art keywords
gray scale
client
user
domain name
version
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
CN201811231444.0A
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 Technology Shenzhen Co Ltd
Original Assignee
Ping An Technology Shenzhen 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 Technology Shenzhen Co Ltd filed Critical Ping An Technology Shenzhen Co Ltd
Priority to CN201811231444.0A priority Critical patent/CN109542475A/en
Publication of CN109542475A publication Critical patent/CN109542475A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/45Network directories; Name-to-address mapping
    • H04L61/4505Network directories; Name-to-address mapping using standardised directories; using standardised directory access protocols
    • H04L61/4511Network directories; Name-to-address mapping using standardised directories; using standardised directory access protocols using domain name system [DNS]

Landscapes

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

Abstract

The present invention relates to data to update field of configuration, more particularly to data-updating method, device, storage medium and the server of a kind of system multi version, the described method includes: receiving the domain name access request that client is initiated, the version information and user's characteristic information of the client are obtained;Judge whether user is gray scale user according to the user's characteristic information, judges whether client release is grayscale version according to the version information;If the user is gray scale user or the client release is grayscale version, public class component is called to obtain the gray scale domain name mapping being pre-configured, the corresponding gray scale domain name of matching domain name access request is mapped according to the gray scale domain name of the pre-configuration;The gray scale domain name is returned to the client, so that the client is according to gray scale domain name access backstage gray scale server.The present invention can efficiently implement the update of the client data under gray scale environment, while improve the gray scale testing efficiency of client.

Description

Data-updating method, device, storage medium and the server of system multi version
Technical field
The present invention relates to data to update field of configuration, and in particular to a kind of data-updating method of system multi version, device, Storage medium and server.
Background technique
With network technology and development, the number of users of the same client is more and more, and the function of a client Can be also more and more abundant, it in the prior art, cannot be disposably when needing to carry out client function renewal or activity updates New function or New activity are distributed to all clients, need first to be tested in a part of client, if in test process Do not occur significant problem, then promotes a step by a step, and currently, being needed when the activity to client different editions is announced Client updates client manually could experience new function or New activity, can not neatly the client to different editions carry out effectively Event promotion, the data of the client under different editions update not flexible.
Summary of the invention
To overcome the data of the client under the above technical problem, especially prior art multi version to update inflexible ask Topic, spy propose following technical scheme:
In a first aspect, the present invention provides a kind of data-updating methods of system multi version, comprising:
The domain name access request that client is initiated is received, the version information and user's characteristic information of the client are obtained;
Judge whether user is gray scale user according to the user's characteristic information, client is judged according to the version information Whether version is grayscale version;
If the user is gray scale user or the client release is grayscale version, public class component is called to obtain prewired The gray scale domain name mapping set maps the corresponding gray scale domain of matching domain name access request according to the gray scale domain name of the pre-configuration Name;
The gray scale domain name is returned to the client, so that the client is according to gray scale domain name access backstage ash Spend server.
Further, there are many gray scale strategy protocols for the common class component Configuration;It is described to call public class component inquiry The gray scale domain name of pre-configuration maps, comprising:
Public class component is called to be mapped according to the first gray scale domain name that the inquiry of the version information of the client is pre-configured; Or,
Public class component is called to be mapped according to the second gray scale domain name that user's characteristic information inquiry is pre-configured;Or,
The third for calling public class component to be pre-configured according to the inquiry of the version information and user's characteristic information of the client The mapping of gray scale domain name.
Further, described to judge whether user is gray scale user according to the user's characteristic information, according to the version After information judges whether client release is grayscale version, further includes:
If the user is ordinary user and the client release is production version, domain name access request is forwarded To backstage production server.
Further, if the user is ordinary user and the client release is production version, by the domain Name access request is forwarded to after the production server of backstage, further includes:
Preset prompting message is sent to the client;
It receives client to instruct the confirmation of the prompting message, configures gray scale user for client user.
Further, after the return gray scale domain name to the client, further includes:
The Access Success Rate for counting the gray scale domain name obtains preset ratio when the success rate is greater than preset value The ordinary user is configured gray scale user by ordinary user.
Further, it if the user is gray scale user or after the client release is grayscale version, also wraps It includes:
It labels for the user or the client, when receiving the domain name access request of client transmission again, Domain name access request is sent to backstage gray scale server.
Second aspect, the present invention provide a kind of data update apparatus of system multi version, comprising:
Receiving module: for receiving the domain name access request of client initiation, the version information and use of the client are obtained Family characteristic information;
Judgment module: for judging whether user is gray scale user according to the user's characteristic information, according to the version Information judges whether client release is grayscale version;
Mapping block: it if being gray scale user for the user or the client release is grayscale version, calls public Class component obtains the gray scale domain name mapping being pre-configured, and maps matching domain name access according to the gray scale domain name of the pre-configuration and asks Seek corresponding gray scale domain name;
Distribution module: for returning to the gray scale domain name to the client, so that the client is according to the gray scale Domain name access backstage gray scale server.
Further, the judgment module further includes executing:
It labels for the user or the client, when receiving the domain name access request of client transmission again, Domain name access request is sent to backstage gray scale server.
The third aspect, the present invention also provides a kind of computer readable storage medium, the computer readable storage medium On be stored with computer program, which realizes the data-updating method of above-mentioned system multi version when being executed by processor.
Fourth aspect, the present invention also provides a server, the server includes one or more processors, storage Device, one or more computer programs, wherein one or more of computer programs are stored in the memory and quilt It is configured to be executed by one or more of processors, one or more of computer programs, which are configured to carry out, above-mentioned is The data-updating method of system multi version.
Compared with the prior art, the present invention has the following beneficial effects:
The present invention provides a kind of to there are the data-updating methods of the system of multiple versions or client, passes through reception The domain name access request that client is initiated, then judges whether client release is grayscale version, whether judges client user For gray scale user, when client release or user meet gray scale strategy, the domain name access request of client is substituted for gray scale Then domain name returns to the gray scale domain name to the client, so that the client is according to the gray scale domain name access backstage Gray scale server, client can realize update to client data by access gray scale domain name, including to update client new Online activity or function can be had the access request of the client under the client and production environment under gray scale environment Effect test, in order to the propulsion of subsequent client gray scale test, meanwhile, gray scale policy-flexible is adjustable, improves client gray scale The efficiency that data update in client is turned up in the efficiency of test.
The additional aspect of the present invention and advantage will be set forth in part in the description, these will become from the following description Obviously, or practice through the invention is recognized.
Detailed description of the invention
Above-mentioned and/or additional aspect and advantage of the invention will become from the following description of the accompanying drawings of embodiments Obviously and it is readily appreciated that, in which:
Fig. 1 is an embodiment flow diagram of the data-updating method of present system multi version;
Fig. 2 is another embodiment flow diagram of the data-updating method of present system multi version;
Fig. 3 is an embodiment schematic diagram of the data update apparatus of present system multi version;
Fig. 4 is an example structure schematic diagram of server of the present invention.
Specific embodiment
The embodiment of the present invention is described below in detail, examples of the embodiments are shown in the accompanying drawings, wherein from beginning to end Same or similar label indicates same or similar element or element with the same or similar functions.Below with reference to attached The embodiment of figure description is exemplary, and for explaining only the invention, and is not construed as limiting the claims.
Those skilled in the art of the present technique are appreciated that unless expressly stated, singular " one " used herein, " one It is a ", " described " and "the" may also comprise plural form.It is to be further understood that being arranged used in specification of the invention Diction " comprising " refers to that there are the feature, integer, step, operations, but it is not excluded that in the presence of or addition it is one or more other Feature, integer, step, operation.
Those skilled in the art of the present technique are appreciated that unless otherwise defined, all terms used herein (including technology art Language and scientific term), there is meaning identical with the general understanding of those of ordinary skill in fields of the present invention.Should also Understand, those terms such as defined in the general dictionary, it should be understood that have in the context of the prior art The consistent meaning of meaning, and unless idealization or meaning too formal otherwise will not be used by specific definitions as here To explain.
It will be appreciated by those skilled in the art that of the invention so-called " application ", " application program ", " computer program " and The concept of similar statement, is same concept well known to those skilled in the art, refers to and is instructed by series of computation machine and dependency number According to the computer software for being suitable for electronics operation of the organic construction of resource.Unless specified, this name itself is not by programming language Say type, rank, the operating system of operation of also not rely by it or platform are limited.In the nature of things, this genus also not by Any type of terminal is limited.
In one embodiment, the present invention provides a kind of data synchronization updating method of system multi version, as shown in Figure 1, It the described method comprises the following steps:
S10: receiving the domain name access request that client is initiated, and obtains the version information and user characteristics letter of the client Breath.
It includes production version and two kinds of grayscale version different versions that client, which can exist when function renewal or activity update, This, the client for producing version has an original function, the client of grayscale version have the function of it is new online, for example, producing version This client has function A, and the client of grayscale version has function A and function B;Likewise, background server can also be deposited It is including backstage production server and backstage gray scale server, the responsible client request to production version of backstage production server It is responded, backstage gray scale server is responsible for responding the client request of grayscale version.It is either raw in the present embodiment The client for producing version or grayscale version initiates domain name access request, when the access layer of background server receives client hair When the domain name request risen, the corresponding user's characteristic information of the user of the version information and the client that obtain the client, specifically , the access layer of the background server is realized with nginx, and the version letter of client is carried in domain name access request Breath, the user's characteristic information are inquired in background user information by user identifier.
S20: judging whether user is gray scale user according to the user's characteristic information, judges visitor according to the version information Whether family end version is grayscale version.
After obtaining the version information and user's characteristic information of client, user is judged according to the user's characteristic information It whether is gray scale user, in general, a part of user of client is classified as gray scale user by background server, another part is returned Class is ordinary user, when the online new function of client or New activity, gray scale user is preferentially allowed to experience, to obtain gray scale User to the feedback of new function or New activity, new function or New activity can be extended to after the completion of test all users (including Gray scale user and ordinary user), in the present embodiment, judged from gray scale user list according to user's characteristic information user whether be Gray scale user, and judge whether client release is grayscale version according to version information.
S30: if the user is gray scale user or the client release is grayscale version, public class component is called to obtain The gray scale domain name of pre-configuration maps, and maps the corresponding ash of matching domain name access request according to the gray scale domain name of the pre-configuration Spend domain name.
In the present embodiment, what all clients were submitted in front end is the domain name request for producing version, and client is online New activity or new function only have backstage gray scale server that can respond, when judge to obtain client user as gray scale user or When the client release is grayscale version, the production version domain name for needing to be accessed for those clients replaces with gray scale domain Name, so that client is able to access that the online New activity or new function of the corresponding client of gray scale domain name, specifically, calling Public class component obtains the gray scale domain name mapping being pre-configured, domain name and gray scale environment comprising production environment in the mapping of gray scale domain name Domain name corresponding relationship, the corresponding ash of matching domain name access request is then mapped according to the gray scale domain name of the pre-configuration Spend domain name.
S40: the gray scale domain name is returned to the client, so that after the client is according to the gray scale domain name access Platform gray scale server.
Further, after the gray scale domain name needed for obtaining client, the gray scale domain name is back to client, visitor Family termination is received according to gray scale domain name access backstage gray scale server after the gray scale domain name, to guarantee that client realizes number According to update, the data that gray scale domain name includes normally are accessed.For example, client online New activity A, in New activity A complete Before the online version to production, New activity A is published to grayscale version and is tested, this when, backstage production server did not had The related data that the related data of New activity A, only backstage gray scale server just have New activity A, when the client of gray scale user Or grayscale version client access New activity A when, to server access layer send domain name access request, the domain name access request For the domain name access request under production version, New activity A can not be normally accessed if accessing backstage production server at this time, it is above-mentioned Embodiment can allow those clients to access to backstage gray scale server, initiate to request to gray scale server, so that client energy Enough access New activity A.
Present embodiments provide it is a kind of to there are the data-updating methods of the system of multiple versions or client, by connecing The domain name access request that client is initiated is received, then judges whether client release is grayscale version, judges that client user is No is gray scale user, and when client release or user meet gray scale strategy, the domain name access request of client is substituted for ash Domain name is spent, then returns to the gray scale domain name to the client, so that after the client is according to the gray scale domain name access Platform gray scale server, client can realize the update to client data by access gray scale domain name, including update client New online activity or function, the access request of the client under the client and production environment under gray scale environment can be obtained Validity test, in order to the propulsion of subsequent client gray scale test, meanwhile, gray scale policy-flexible is adjustable, improves client ash The efficiency of test is spent, the efficiency that data update in client is turned up.
A kind of embodiment of the invention, there are many gray scale strategy protocols for the common class component Configuration;The calling is public The gray scale domain name mapping that class component inquiry is pre-configured, comprising:
Public class component is called to be mapped according to the first gray scale domain name that the inquiry of the version information of the client is pre-configured; Or,
Public class component is called to be mapped according to the second gray scale domain name that user's characteristic information inquiry is pre-configured;Or,
The third for calling public class component to be pre-configured according to the inquiry of the version information and user's characteristic information of the client The mapping of gray scale domain name.
In order to carry out more careful differentiation to client, in the present embodiment, there are many ashes for the common class component Configuration Strategy protocol is spent, in the gray scale domain name mapping for calling public class component inquiry to be pre-configured, according to a variety of gray scale strategy sides Case obtains different gray scale domain name mappings, is pre-configured including calling public class component to be inquired according to the version information of the client The mapping of the first gray scale domain name, the differentiation of gray scale domain name mapping is carried out with the version information of client at this time;Or call common class Component is mapped according to the second gray scale domain name that user's characteristic information inquiry is pre-configured, and carries out ash at this time with user's characteristic information Spend the differentiation of domain name mapping;Or public class component is called to be inquired in advance according to the version information and user's characteristic information of the client The third gray scale domain name of configuration maps, and carries out gray scale domain name in combination with the version information of client and user's characteristic information at this time The differentiation of mapping.
A kind of embodiment of the invention, it is described to judge whether user is gray scale user, root according to the user's characteristic information After judging whether client release is grayscale version according to the version information, further includes:
If the user is ordinary user and the client release is production version, domain name access request is forwarded To backstage production server.
In the present embodiment, if the user is ordinary user and the client release is production version, illustrate client The client is not covered in end new online activity or function also temporarily, is at this time forwarded to the domain name access request of the client Backstage production server allows production server completion in backstage to respond the domain name request under the production version.
A kind of embodiment of the invention, if the user is ordinary user and the client release is production version This, domain name access request is forwarded to after the production server of backstage, further includes:
Preset prompting message is sent to the client;
It receives client to instruct the confirmation of the prompting message, configures gray scale user for client user.
On the basis of the above embodiments, when having judged client user as ordinary user, client release is production version After this, in the present embodiment, Xiang Suoshu client sends preset prompting message, such as such as " client is new to client transmission The prompting message of online activity, if need to experience " then receives client and instructs to the confirmation of the prompting message, institute Stating also includes the submitting button such as " confirmed " in prompting message, after client clicks the submitting button, is sent to institute Stating the confirmation instruction of prompting message will be described after server background receives client to the confirmation instruction of the prompting message User configuration is gray scale user, the subsequent client can orientation backstage gray scale server, access to the new online work of client Dynamic or function.
A kind of embodiment of the invention, as shown in Fig. 2, after the return gray scale domain name to the client, also Include:
S50: counting the Access Success Rate of the gray scale domain name, when the success rate is greater than preset value, obtains default ratio The ordinary user of example, configures gray scale user for the ordinary user.
The new online activity of grayscale version needs to extend to all clients version and is able to access that, in the propulsion of grayscale version Stage counts the Access Success Rate of the gray scale domain name, when the Access Success Rate of the gray scale domain name is higher, illustrates gray scale version New activity or new function under this can operate normally, and illustrate user to the acceptance of New activity or new function, when described When success rate is greater than preset value, activity can be promoted further under grayscale version at this time, in the present embodiment, obtain preset ratio Ordinary user, configure gray scale user for those ordinary users, those subsequent users are also able to access that backstage gray scale server, It being capable of client experience new online function or activity.
A kind of embodiment of the invention, if the user is gray scale user or the client release is grayscale version Later, further includes:
It labels for the user or the client, when receiving the domain name access request of client transmission again, Domain name access request is sent to backstage gray scale server.
After confirmed that user is gray scale user or client release is grayscale version, stamped for those users or client Preset label, when receiving the domain name access request of client transmission again, it is no longer necessary to those clients or user Judged, the domain name access request of those clients is sent to backstage gray scale server, those subsequent clients can be fast Fast ground orientation backstage gray scale server, reduces the calculation amount of server, improves the treatment effeciency of access request.
As shown in figure 3, in another embodiment, the present invention provides a kind of data update apparatus of system multi version, Include:
Receiving module 10: for receive client initiation domain name access request, obtain the client version information and User's characteristic information;
Judgment module 20: for judging whether user is gray scale user according to the user's characteristic information, according to the version This information judges whether client release is grayscale version;
Mapping block 30: it if being gray scale user for the user or the client release is grayscale version, calls public Class component obtains the gray scale domain name mapping being pre-configured altogether, maps matching domain name access according to the gray scale domain name of the pre-configuration Request corresponding gray scale domain name;
Distribution module 40: for returning to the gray scale domain name to the client, so that the client is according to the ash Spend domain name access backstage gray scale server.
A kind of embodiment of the invention, there are many gray scale strategy protocols for common class component Configuration;The mapping block 30 is held Row calls public class component to obtain the gray scale domain name mapping being pre-configured, comprising:
The first character string in input frame is obtained, is first character array by the first string processing;
Public class component is called to be mapped according to the first gray scale domain name that the inquiry of the version information of the client is pre-configured; Or,
Public class component is called to be mapped according to the second gray scale domain name that user's characteristic information inquiry is pre-configured;Or,
The third for calling public class component to be pre-configured according to the inquiry of the version information and user's characteristic information of the client The mapping of gray scale domain name.
A kind of embodiment of the invention, the judgment module 20 further include executing:
If the user is ordinary user and the client release is production version, domain name access request is forwarded To backstage production server.
A kind of embodiment of the invention, described device further include executing:
Preset prompting message is sent to the client;
It receives client to instruct the confirmation of the prompting message, configures gray scale user for client user.
A kind of embodiment of the invention, described device further include:
Configuration module: it for counting the Access Success Rate of the gray scale domain name, when the success rate is greater than preset value, obtains The ordinary user is configured gray scale user by the ordinary user for taking preset ratio.
A kind of embodiment of the invention, the judgment module further include executing:
It labels for the user or the client, when receiving the domain name access request of client transmission again, Domain name access request is sent to backstage gray scale server.
In another embodiment, the present invention provides a kind of computer readable storage medium, computer-readable storage mediums Computer program is stored in matter, which realizes the data of system multi version described in above-described embodiment when being executed by processor Update method.Wherein, the computer readable storage medium includes but is not limited to any kind of disk (including floppy disk, hard disk, light Disk, CD-ROM and magneto-optic disk), ROM (Read-Only Memory, read-only memory), RAM (Random AcceSS Memory, immediately memory), EPROM (EraSable Programmable Read-Only Memory, erasable programmable Read-only memory), EEPROM (Electrically EraSable Programmable Read-Only Memory, electrically erasable Programmable read only memory), flash memory, magnetic card or light card.It is, storage equipment includes by equipment (for example, calculating Machine, mobile phone) with any medium for the form storage or transmission information that can be read, it can be read-only memory, disk or CD etc..
A kind of computer readable storage medium provided in an embodiment of the present invention is visited, it can be achieved that receiving the domain name that client is initiated It asks request, obtains the version information and user's characteristic information of the client;Whether user is judged according to the user's characteristic information For gray scale user, judge whether client release is grayscale version according to the version information;If the user is gray scale user Or the client release is grayscale version, calls public class component to obtain the gray scale domain name mapping being pre-configured, according to described pre- The corresponding gray scale domain name of gray scale domain name mapping matching domain name access request of configuration;The gray scale domain name is returned to the visitor Family end, so that the client is according to gray scale domain name access backstage gray scale server.It is a kind of more to existing by providing The system of a version or the data-updating method of client are requested by receiving the domain name access that client is initiated, are then judged Whether client release is grayscale version, judges whether client user is gray scale user, when client release or user meet When gray scale strategy, the domain name access request of client is substituted for gray scale domain name, then returns to the gray scale domain name to the visitor Family end, so that the client, according to gray scale domain name access backstage gray scale server, client can be by accessing gray scale Domain name realizes the update to client data, including updating client new online activity or function, by the visitor under gray scale environment The access request of client under family end and production environment can obtain validity test, in order to the test of subsequent client gray scale It promotes, meanwhile, gray scale policy-flexible is adjustable, improves the efficiency of client gray scale test, is turned up what data in client updated Efficiency.
The data that above system multi version may be implemented in computer readable storage medium provided in an embodiment of the present invention update The embodiment of method, concrete function realize the explanation referred in embodiment of the method, and details are not described herein.
In addition, the present invention also provides a kind of servers in another embodiment, as shown in figure 4, the server includes The devices such as processor 403, memory 405, input unit 407 and display unit 409.It will be understood by those skilled in the art that Structure devices shown in Fig. 4 do not constitute the restriction to Servers-all, may include components more more or fewer than diagram, or Person combines certain components.Memory 405 can be used for storing computer program 401 and each functional module, and the operation of processor 403 is deposited The computer program 401 in memory 405 is stored up, thereby executing the various function application and data processing of equipment.Memory 405 It can be built-in storage or external memory, or including both built-in storage and external memory.Built-in storage may include read-only Memory (ROM), programming ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), quick flashing Memory or random access memory.External memory may include hard disk, floppy disk, ZIP disk, USB flash disk, tape etc..It is presently disclosed Memory include but is not limited to these types memory.Memory 405 disclosed in this invention is only used as example rather than makees To limit.
Input unit 407 is used to receive the input of signal and receives the input of user, and input unit 407 may include touch surface Plate and other input equipments, touch panel collect user on it or nearby touch operation (such as user using finger, The operation of any suitable object or attachment such as stylus on touch panel or near touch panel), and according to presetting The corresponding attachment device of driven by program;Other input equipments can include but is not limited to physical keyboard, function key (for example plays Control button, switch key etc.), trace ball, mouse, one of operating stick etc. or a variety of.Display unit 409 can be used for showing The information of user's input is supplied to the information of user and the various menus of computer equipment.Liquid can be used in display unit 409 The forms such as crystal display, Organic Light Emitting Diode.Processor 403 is the control centre of computer equipment, using various interfaces and The various pieces of the entire computer of connection, by running or executing the software program being stored in memory 403 and/or mould Block, and the data being stored in memory are called, perform various functions and handle data.
In one embodiment, the server includes one or more processors 403, and one or more storages Device 405, one or more computer programs 401, wherein one or more of computer programs 401 are stored in memory It in 405 and is configured as being executed by one or more of processors 403, one or more of computer programs 401 configure For executing the data-updating method of system multi version described in above embodiments.One or more processors shown in Fig. 4 403 are able to carry out, realize the function of receiving module 10, judgment module 20, mapping block 30, distribution module 40 shown in Fig. 3.
A kind of server provided in an embodiment of the present invention is requested, it can be achieved that receiving the domain name access that client is initiated, and is obtained The version information and user's characteristic information of the client;Judge whether user is gray scale user according to the user's characteristic information, Judge whether client release is grayscale version according to the version information;If the user is gray scale user or the client Version is grayscale version, calls public class component to obtain the gray scale domain name mapping being pre-configured, according to the gray scale domain of the pre-configuration The corresponding gray scale domain name of name mapping matching domain name access request;The gray scale domain name is returned to the client, so that institute Client is stated according to gray scale domain name access backstage gray scale server.It is a kind of to there are the systems of multiple versions by providing Or the data-updating method of client, it is requested by receiving the domain name access that client is initiated, then judges that client release is No is grayscale version, judges whether client user is gray scale user, will when client release or user meet gray scale strategy The domain name access request of client is substituted for gray scale domain name, then returns to the gray scale domain name to the client, so that described Client can be realized by access gray scale domain name to client according to gray scale domain name access backstage gray scale server, client The update of end data, including updating client new online activity or function, by the client and production environment under gray scale environment Under the access request of client can obtain validity test, in order to the propulsion of subsequent client gray scale test, meanwhile, gray scale Policy-flexible is adjustable, improves the efficiency of client gray scale test, and the efficiency that data update in client is turned up.
The reality of the data-updating method of the system multi version of above-mentioned offer may be implemented in terminal provided in an embodiment of the present invention Example is applied, concrete function realizes the explanation referred in embodiment of the method, and details are not described herein.
The above is only some embodiments of the invention, it is noted that for the ordinary skill people of the art For member, various improvements and modifications may be made without departing from the principle of the present invention, these improvements and modifications are also answered It is considered as protection scope of the present invention.

Claims (10)

1. a kind of data-updating method of system multi version characterized by comprising
The domain name access request that client is initiated is received, the version information and user's characteristic information of the client are obtained;
Judge whether user is gray scale user according to the user's characteristic information, client release is judged according to the version information It whether is grayscale version;
If the user is gray scale user or the client release is grayscale version, public class component is called to obtain pre-configuration The mapping of gray scale domain name maps the corresponding gray scale domain name of matching domain name access request according to the gray scale domain name of the pre-configuration;
The gray scale domain name is returned to the client, so that the client takes according to gray scale domain name access backstage gray scale Business device.
2. the method according to claim 1, wherein there are many gray scale strategy sides for the common class component Configuration Case;The gray scale domain name mapping for calling public class component inquiry to be pre-configured, comprising:
Public class component is called to be mapped according to the first gray scale domain name that the inquiry of the version information of the client is pre-configured;Or,
Public class component is called to be mapped according to the second gray scale domain name that user's characteristic information inquiry is pre-configured;Or,
The third gray scale for calling public class component to be pre-configured according to the inquiry of the version information and user's characteristic information of the client Domain name mapping.
3. the method according to claim 1, wherein whether described judge user according to the user's characteristic information For gray scale user, after judging whether client release is grayscale version according to the version information, further includes:
If the user is ordinary user and the client release is production version, after domain name access request is forwarded to Platform production server.
4. if according to the method described in claim 3, it is characterized in that, the user is ordinary user and the client Version is production version, and domain name access request is forwarded to after the production server of backstage, further includes:
Preset prompting message is sent to the client;
It receives client to instruct the confirmation of the prompting message, configures gray scale user for client user.
5. the method according to claim 1, wherein it is described return the gray scale domain name to the client it Afterwards, further includes:
The Access Success Rate for counting the gray scale domain name obtains the common of preset ratio when the success rate is greater than preset value The ordinary user is configured gray scale user by user.
6. if the method according to claim 1, wherein the user is gray scale user or the client Version is after grayscale version, further includes:
It labels for the user or the client, when receiving the domain name access request of client transmission again, by institute It states domain name access request and is sent to backstage gray scale server.
7. a kind of data update apparatus of system multi version characterized by comprising
Receiving module: for receiving the domain name access request of client initiation, version information and the user for obtaining the client are special Reference breath;
Judgment module: for judging whether user is gray scale user according to the user's characteristic information, according to the version information Judge whether client release is grayscale version;
Mapping block: if being gray scale user for the user or the client release is grayscale version, common class group is called Part obtains the gray scale domain name mapping being pre-configured, and maps matching domain name access request pair according to the gray scale domain name of the pre-configuration The gray scale domain name answered;
Distribution module: for returning to the gray scale domain name to the client, so that the client is according to the gray scale domain name Access backstage gray scale server.
8. device according to claim 7, which is characterized in that the judgment module further includes executing:
It labels for the user or the client, when receiving the domain name access request of client transmission again, by institute It states domain name access request and is sent to backstage gray scale server.
9. a kind of computer readable storage medium, which is characterized in that be stored with computer on the computer readable storage medium Program, the computer program realize the data of system multi version as claimed in any one of claims 1 to 6 more when being executed by processor New method.
10. a kind of server characterized by comprising
One or more processors;
Memory;
One or more computer programs, wherein one or more of computer programs are stored in the memory and quilt It is configured to be executed by one or more of processors, one or more of computer programs are configured to carry out according to right It is required that the data-updating method of 1 to 6 described in any item system multi versions.
CN201811231444.0A 2018-10-22 2018-10-22 Data-updating method, device, storage medium and the server of system multi version Pending CN109542475A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811231444.0A CN109542475A (en) 2018-10-22 2018-10-22 Data-updating method, device, storage medium and the server of system multi version

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811231444.0A CN109542475A (en) 2018-10-22 2018-10-22 Data-updating method, device, storage medium and the server of system multi version

Publications (1)

Publication Number Publication Date
CN109542475A true CN109542475A (en) 2019-03-29

Family

ID=65844179

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811231444.0A Pending CN109542475A (en) 2018-10-22 2018-10-22 Data-updating method, device, storage medium and the server of system multi version

Country Status (1)

Country Link
CN (1) CN109542475A (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110120971A (en) * 2019-04-17 2019-08-13 北京奇艺世纪科技有限公司 A kind of gray scale dissemination method, device and electronic equipment
CN110442361A (en) * 2019-06-27 2019-11-12 五八有限公司 A kind of gray scale dissemination method, device and electronic equipment
CN110795343A (en) * 2019-10-12 2020-02-14 车智互联(北京)科技有限公司 Test system, test method and computing device
CN110806971A (en) * 2019-09-25 2020-02-18 上海艾融软件股份有限公司 Version testing method and device and electronic equipment
CN112699038A (en) * 2020-12-30 2021-04-23 杭州贝嘟科技有限公司 Version testing method, device and system and computer equipment
CN113590213A (en) * 2021-06-24 2021-11-02 深圳开源互联网安全技术有限公司 Component maintenance method, electronic device, and storage medium
CN114938396A (en) * 2022-05-09 2022-08-23 阿里巴巴(中国)有限公司 Routing method of service call request, method and device for creating service
CN115242417A (en) * 2021-06-03 2022-10-25 广州汽车集团股份有限公司 Vehicle-mounted function control method, system and device and vehicle
CN117009112A (en) * 2023-08-31 2023-11-07 深圳市小赢信息技术有限责任公司 Service processing method, device, intelligent equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103176790A (en) * 2011-12-26 2013-06-26 阿里巴巴集团控股有限公司 Application releasing method and application releasing system
US20160048384A1 (en) * 2014-08-12 2016-02-18 Xiaomi Inc. Method and device for grayscale-upgrading
CN106998369A (en) * 2017-05-26 2017-08-01 努比亚技术有限公司 Gray scale dissemination method, gateway blocker and computer-readable recording medium
CN107864175A (en) * 2017-08-24 2018-03-30 平安普惠企业管理有限公司 Gray scale distribution control method, device, equipment and storage medium
CN108319468A (en) * 2017-01-16 2018-07-24 北京京东尚科信息技术有限公司 Gray scale dissemination method, device, system and electronic equipment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103176790A (en) * 2011-12-26 2013-06-26 阿里巴巴集团控股有限公司 Application releasing method and application releasing system
US20160048384A1 (en) * 2014-08-12 2016-02-18 Xiaomi Inc. Method and device for grayscale-upgrading
CN108319468A (en) * 2017-01-16 2018-07-24 北京京东尚科信息技术有限公司 Gray scale dissemination method, device, system and electronic equipment
CN106998369A (en) * 2017-05-26 2017-08-01 努比亚技术有限公司 Gray scale dissemination method, gateway blocker and computer-readable recording medium
CN107864175A (en) * 2017-08-24 2018-03-30 平安普惠企业管理有限公司 Gray scale distribution control method, device, equipment and storage medium

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110120971A (en) * 2019-04-17 2019-08-13 北京奇艺世纪科技有限公司 A kind of gray scale dissemination method, device and electronic equipment
CN110442361A (en) * 2019-06-27 2019-11-12 五八有限公司 A kind of gray scale dissemination method, device and electronic equipment
CN110442361B (en) * 2019-06-27 2024-02-09 五八有限公司 Gray release method and device and electronic equipment
CN110806971A (en) * 2019-09-25 2020-02-18 上海艾融软件股份有限公司 Version testing method and device and electronic equipment
CN110795343A (en) * 2019-10-12 2020-02-14 车智互联(北京)科技有限公司 Test system, test method and computing device
CN110795343B (en) * 2019-10-12 2024-03-15 车智互联(北京)科技有限公司 Test system, test method and computing device
CN112699038A (en) * 2020-12-30 2021-04-23 杭州贝嘟科技有限公司 Version testing method, device and system and computer equipment
CN115242417B (en) * 2021-06-03 2023-07-25 广州汽车集团股份有限公司 Vehicle-mounted function control method, system, device and vehicle
CN115242417A (en) * 2021-06-03 2022-10-25 广州汽车集团股份有限公司 Vehicle-mounted function control method, system and device and vehicle
CN113590213B (en) * 2021-06-24 2023-04-25 深圳开源互联网安全技术有限公司 Component maintenance method, electronic device and storage medium
CN113590213A (en) * 2021-06-24 2021-11-02 深圳开源互联网安全技术有限公司 Component maintenance method, electronic device, and storage medium
CN114938396A (en) * 2022-05-09 2022-08-23 阿里巴巴(中国)有限公司 Routing method of service call request, method and device for creating service
CN117009112A (en) * 2023-08-31 2023-11-07 深圳市小赢信息技术有限责任公司 Service processing method, device, intelligent equipment and storage medium

Similar Documents

Publication Publication Date Title
CN109542475A (en) Data-updating method, device, storage medium and the server of system multi version
US7290029B2 (en) Input system and method in which candidate characters submitted by a user are recognized and recognized characters are returned to the user
CN102164164B (en) Utilize the configurable remote technology support performing application
CN109155748A (en) The natural language interaction formula messaging system server of internet cloud trustship cooperates
US20170371508A1 (en) Menu management method, server, and system
CN102752369B (en) The supplying method of TV applications service and virtual content service platform
CN108153768A (en) Method for page jump, data processing method, device and page jump control system
CN107786430B (en) Robot chatting method and system
CN104268241B (en) Attribute display method in a kind of configuration database
US20130091502A1 (en) System and method of providing virtual machine using device cloud
CN109076010A (en) Natural language interaction formula message transfer service user's resolver of internet cloud trustship
CN108293181A (en) A kind of processing method and terminal of communication identifier binding
CN113094136A (en) Page display control method and device, storage medium and electronic equipment
CN109815716A (en) Access request processing method, device, storage medium and server
CN103596021A (en) Account login method, device and system of intelligent television
CN107230273A (en) A kind of queuing number-taking method, device, system and storage medium
CN106230889B (en) resource management method and system for mobile application service components
CN102609409A (en) Online translation method, device, system and server
CN111414191A (en) Gray scale publishing method and device for small program
CN111176577A (en) Distributed block storage service command processing method, device, equipment and medium
CN102664945B (en) For document down loading method, device and system that time-out connects
CN106302125B (en) The method, apparatus and system that a kind of pair of solicited message is responded
CN103365892A (en) Method and device for processing multiple contact objects
CN114567659B (en) Cloud mobile phone control method, device, equipment and storage medium
CN103634348A (en) Terminal device and method for releasing information

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20190329

RJ01 Rejection of invention patent application after publication