CN110213392A - Data distributing method, device, computer equipment and storage medium - Google Patents

Data distributing method, device, computer equipment and storage medium Download PDF

Info

Publication number
CN110213392A
CN110213392A CN201810292097.6A CN201810292097A CN110213392A CN 110213392 A CN110213392 A CN 110213392A CN 201810292097 A CN201810292097 A CN 201810292097A CN 110213392 A CN110213392 A CN 110213392A
Authority
CN
China
Prior art keywords
user
characteristic information
server
information
request
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201810292097.6A
Other languages
Chinese (zh)
Other versions
CN110213392B (en
Inventor
黄俊涛
黄友昆
崔进
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent 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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201810292097.6A priority Critical patent/CN110213392B/en
Publication of CN110213392A publication Critical patent/CN110213392A/en
Application granted granted Critical
Publication of CN110213392B publication Critical patent/CN110213392B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • 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

Abstract

This application involves a kind of data distributing method, device, computer equipment and storage mediums, which comprises receives user's request, and extracts the subscriber identity information of user's request;User's characteristic information is determined according to the subscriber identity information;Determine server identification corresponding with the user's characteristic information;When there is server identification corresponding with the user's characteristic information, user request is distributed to server corresponding with the server identification.In this way, when requesting different business, without corresponding to corresponding server by different domain names, but according to user's characteristic information come server corresponding with corresponding to.The user's characteristic information is related to subscriber identity information, and developer is uniformly controlled user's characteristic information with can be convenient.Therefore, this method can be convenient user's operation, it is thus possible to reach the beneficial effect for improving access stratum server distribution efficiency.

Description

Data distributing method, device, computer equipment and storage medium
Technical field
This application involves technical field of data processing, more particularly to a kind of data distributing method, device, computer equipment And storage medium.
Background technique
With the development of computer information technology, the application for accessing stratum server is more and more important.Access stratum server Major function is that user's request is distributed to corresponding server.
Traditional access stratum server is when carrying out data distribution in such a way that domain name is mapped to corresponding server User's request is distributed to server.This, which enables, has numerous different business demands (to be especially desirable to requesting itself to be forwarded To a specified services server) user need replacing different domain names, or using special tool (as utilized The packet catchers such as fiddler) configuration domain name given server.
Traditional data distribution mode user's operation is inconvenient, and access stratum server is caused to there are problems that distributing low efficiency.
Summary of the invention
Based on this, it is necessary in view of the above technical problems, provide it is a kind of distribute high-efficient data distributing method, device, Computer equipment and storage medium.
A kind of data distributing method, which comprises
User's request is received, and extracts the subscriber identity information of user's request;
User's characteristic information is determined according to the subscriber identity information;
Determine server identification corresponding with the user's characteristic information;
Exist server identification corresponding with the user's characteristic information when, by the user request be distributed to it is described The corresponding server of server identification.
A kind of data delivery device, described device include:
Request receiving module for receiving user's request, and extracts the subscriber identity information of user's request;
Characteristic determination module, for determining user's characteristic information according to the subscriber identity information;
Respective modules are identified, for determining server identification corresponding with the user's characteristic information;
Distribution module being requested, being used for when there is server identification corresponding with the user's characteristic information, by the use Family request is distributed to the server.
A kind of computer equipment, including memory and processor, the memory are stored with computer program, the processing Device performs the steps of when executing the computer program
User's request is received, and extracts the subscriber identity information of user's request;
User's characteristic information is determined according to the subscriber identity information;
Determine server identification corresponding with the user's characteristic information;
Exist server identification corresponding with the user's characteristic information when, by the user request be distributed to it is described The corresponding server of server identification.
A kind of computer readable storage medium, is stored thereon with computer program, and the computer program is held by processor It is performed the steps of when row
User's request is received, and extracts the subscriber identity information of user's request;
User's characteristic information is determined according to the subscriber identity information;
Determine server identification corresponding with the user's characteristic information;
Exist server identification corresponding with the user's characteristic information when, by the user request be distributed to it is described The corresponding server of server identification.
Above-mentioned data distributing method, device, computer equipment and storage medium extract user by receiving user's request The subscriber identity information of request, and user's characteristic information is determined according to the subscriber identity information;Then determining to believe with user characteristics Cease corresponding server identification;Finally, user is requested to distribute when there is server identification corresponding with user's characteristic information To server corresponding with server identification.In this way, when requesting different business, without corresponding to phase by different domain names The server answered, but according to user's characteristic information come server corresponding with corresponding to.The user's characteristic information and user's body Part information is related, and developer is uniformly controlled user's characteristic information with can be convenient.Therefore, this method can be convenient use Family operation, can be improved the distribution efficiency of access stratum server.
Detailed description of the invention
Fig. 1 is the applied environment figure of data distributing method in one embodiment;
Fig. 2 is the flow diagram of data distributing method in one embodiment;
Fig. 3 is the flow diagram of data distributing method in another embodiment;
Fig. 4 is the overall architecture schematic diagram of server end;
Fig. 5 is the flow diagram of data distributing method in another embodiment;
Fig. 6 is the schematic diagram of data distribution principle in one embodiment;
Fig. 7 is the structural block diagram of data delivery device in one embodiment;
Fig. 8 is the structural block diagram of data delivery device in another embodiment;
Fig. 9 is the internal structure chart of computer equipment in one embodiment.
Specific embodiment
It is with reference to the accompanying drawings and embodiments, right in order to which the objects, technical solutions and advantages of the application are more clearly understood The application is further elaborated.It should be appreciated that specific embodiment described herein is only used to explain the application, not For limiting the application.
Data distributing method provided by the present application can be applied in application environment as shown in Figure 1.Wherein, terminal 102 It is communicated by network with access stratum server 104.Terminal 102 sends user by network and requests to access stratum server 104;It accesses stratum server 104 and receives user request, and extract the identity information in user's request;Then according to user identity Information determines user's characteristic information, determines server identification corresponding with user's characteristic information, finally exists and the user When the corresponding server identification of characteristic information, user request is distributed to server corresponding with the server identification. Wherein, terminal 102 can be, but not limited to be various personal computers, laptop, smart phone, tablet computer and portable Wearable device accesses stratum server 104, can use the server cluster of the either multiple server compositions of independent server To realize.
In one embodiment, as shown in Fig. 2, providing a kind of data distributing method, it is applied in Fig. 1 in this way It is illustrated for access stratum server, comprising the following steps:
S202 receives user's request, and extracts the subscriber identity information of user's request.
User's request is the solicited message for being used to request a certain business that client is sent.Business is the specified of server end Service server, access stratum server or background server are the service that client provides.Access stratum server receives the user Request.Specified services server provides the service for being different from default business, and access stratum server provides data distribution and default industry The service of business, data service needed for background server offer business.Default business can for the visible business of ordinary user, The service for being different from default business can be the business provided for development teams, generally invisible to ordinary user.
After receiving user's request, subscriber identity information is extracted from the user's request received.User's request includes using Family identity information.Subscriber identity information is the information for indicating user identity, such as can be user account, user's name, Yong Hubian At least one of in number equal.
It is to be appreciated that user's request can also include service requesting information.Service requesting information is institute in user's request The information of the business of request can be such as Business Name, URL (Uniform Resource Locator, the system of number, business One Resource Locator) etc. at least one of.
S204 determines user's characteristic information according to subscriber identity information.
User's characteristic information is programmable characteristic value, when such as subscriber identity information including user's name, it has not been convenient to it programs, The user's name can be converted to facilitates the eap-message digest of programming as feature vector.It such as, can be cryptographic Hash.It is understood that Ground, user's characteristic information can be with unique identification user, but the characteristic value of unique identification user is not unique.Such as, user characteristics are believed Breath can be user account, or other identity informations in log-on message, such as user name, Customs Assigned Number.User is special Reference breath can subscriber identity information calculates according to eap-message digest.Log-on message refers to the user in user's request The relevant information of the progress user's login of user corresponding to identity information.Due to the programmability of user's characteristic information, so that with Family characteristic information is controllable and has diversity.
S206 determines server identification corresponding with user's characteristic information.
Server identification corresponding with user's characteristic information is determined according to user's characteristic information.In the present embodiment, it uses Family characteristic information has mapping relations with the server for providing business service for the corresponding user of the user's characteristic information.Mapping is closed System can be embodied by a kind of mapping ruler, can also be embodied by mapping table.To according to user's characteristic information To determine server identification corresponding with the user's characteristic information.
User's request is distributed to server mark when there is server identification corresponding with user's characteristic information by S208 Know corresponding server.
The server is the server that server identification corresponding with user's characteristic information is identified, i.e. server identification Corresponding server, namely server corresponding with user's characteristic information.
Can by obtaining the address of the corresponding server of server identification, and according to the address got, User's request is distributed to the corresponding server of the mailing address, thus, it is corresponding that user's request is distributed to server identification Server.Address is that server carries out used mark when network communication, such as can be internet protocol address, can be with For internet protocol address+port numbers.The corresponding server of the server that server identification is identified, i.e. server identification, can be with Business service corresponding to service requesting information in user's request is provided.
Above-mentioned data distributing method extracts the subscriber identity information of user's request, and according to this by receiving user's request Subscriber identity information determines user's characteristic information;Then server identification corresponding with user's characteristic information is determined;Finally, depositing In server identification corresponding with user's characteristic information, user's request is distributed to server corresponding with server identification. In this way, when requesting different business, without corresponding to corresponding server by different domain names, but according to user characteristics Information is come server corresponding with corresponding to.The user's characteristic information is related to subscriber identity information, and developer can be convenient Ground is uniformly controlled user's characteristic information.Therefore, this method can be convenient user's operation, and access stratum server can be improved Distribution efficiency.
In one embodiment, referring to Fig. 3, further comprising the steps of:
User's request is distributed to specific clothes when server identification corresponding with user's characteristic information is not present by S310 Business device.
Particular server is the server pre-set, can be background server.In this embodiment it is possible to pass through It is distributed to the identical mode of the corresponding server of server identification with by user's request, user's request is distributed to special services Device, therefore not to repeat here.
It should be noted that above-mentioned data distributing method operates on the access stratum server of server end.For convenience of reason Solution, Fig. 4 give the schematic diagram of server end overall architecture.Server end includes access stratum server, specified services server 1 To n and background server.It accesses stratum server the service of data distribution is provided and defaults the service of business, specified services clothes Business 1~n of device provide service that is different and being different from default business, data service needed for background server offer business. Such as, 1~n of specified services server can be to provide the service of different page layouts, and background server is mentioning for page layout For the data server of specific data content.Access stratum server can use distributed deployment way.Server end work When, then reception user request first executes data distribution by access stratum server, namely execute forwarding, user's request is turned It is sent to corresponding server;Corresponding server can be 1~n of specified services server, or background server.When building When having stood user and requesting the binding relationship of corresponding user's characteristic information and server, user is requested to distribute by access stratum server To specified services server, that is, exist server identification corresponding with user's characteristic information when, by user request be distributed to The corresponding server of server identification.When the binding relationship for not setting up user and requesting corresponding user's characteristic information and server When, user's request is forwarded to background server by access stratum server, that is, service corresponding with user's characteristic information is being not present When device identifies, user's request is distributed to background server.
In one embodiment, the step of determining server identification corresponding with user's characteristic information, comprising: mapping Server identification corresponding with user's characteristic information is searched in relation table.
Server identification corresponding with user's characteristic information is searched in mapping table according to user's characteristic information.Mapping Relation table can be to be stored in local tables of data, locally refer to executing subject itself, i.e. access stratum server.The mapping relations The mapping relations of user's characteristic information and server identification are stored in table.It therefore, can be using user's characteristic information as lookup Condition searches server identification corresponding with the user's characteristic information, so that it is determined that the corresponding server of the user's characteristic information Mark.
Further, user's characteristic information and the mapping relations of server identification can store in relation table, the relationship Table can store in local, also can store on other servers.Mapping can be determined by way of reading the relation table Relation table.
In a wherein specific embodiment, by way of reading the relation table in determining mapping table, it is stored with The full content of the relation table.In this way, only requiring to look up a mapping table, it just can determine that the corresponding clothes of user's characteristic information Business device mark.
In another embodiment, it in the mapping table determined by way of reading the relation table, is only stored with The mapping relations user's characteristic information searched before corresponding to, in this way, storage resource can be saved, reduced in mapping relations The time that server identification corresponding with user's characteristic information is searched in table, the efficiency of lookup is improved, to improve data distribution Efficiency.The effect is especially embodied in can find mapping relations corresponding to user's characteristic information in mapping table When.It further, can be into one if not finding mapping relations corresponding to user's characteristic information in the mapping table Step reads relation table, when reading the corresponding mapping relations of user's characteristic information, is updated to mapping table, and according to Server identification corresponding to user's characteristic information determines server identification corresponding with user's characteristic information in the mapping relations. It is to be appreciated that in some embodiments, failing to find the pass of mapping corresponding to user's characteristic information in mapping table It, can be corresponding with particular server mark by user's characteristic information when being.Particular server mark, can be background server Mark.
In one embodiment, referring to Fig. 5, the establishment process of mapping table, comprising:
S5052 obtains user's binding information.
User's binding information includes user's characteristic information and server identification.User's binding information of the acquisition can for What server end obtained, as that can be developer server end carries out batch setting, or developer is in number According to what is be arranged in library.In this way, providing by the way that user's characteristic information and server mark is arranged in such a way that server end is directly arranged The mapping relations of knowledge.It is thus possible to realize numerous functions such as the controllability assignment of traffic responded rapidly to, server pressure survey.This is obtained The user's binding information taken can also be sent to server end, received server-side user's binding information for client.Such as, User interface can be provided in client, user can use the user interface and actively bind itself and specified services server. In this way, provide in such a way that client is arranged, i.e. the mode of user's actively setting, setting user's characteristic information and server mark The mapping relations of knowledge.Therefore, the flexibility ratio of switching distribution rules can be greatlyd improve, thus, improve the flexible of data distribution Property.
S5054 generates mapping table according to user's binding information.
It is to be appreciated that the mapping table includes that all there are corresponding to the user's characteristic information of user's binding information Mapping relations, and the mapping table is stored on access stratum server.
It in another embodiment, as shown in fig. 6, can be other servers (different from accessing the server of stratum server) On, relation table is constructed using mode identical with mapping table is established in a upper embodiment.That is: user's binding information is obtained, User's binding information includes user's characteristic information and server identification;According to user's binding information, production Methods table.At this point, needing To determine that mapping table, concrete mode have described above by way of reading the relation table, therefore not to repeat here.Such as This, can find server identification corresponding with user's characteristic information according to user's characteristic information in the mapping table, And user's request is distributed on the corresponding server of the server identification.
It should be noted that other servers can be database server, database server is to provide database clothes The server of business.
In one embodiment, please continue to refer to Fig. 5, further includes:
S5056 updates mapping table according to default more new strategy.
More new strategy is the strategy being updated to mapping table.Such as, mode one can be at interval of between preset time Every update mapping table;Mode two can be that the mapping table is updated when mapping relations have update;Also that can be The combination of mode one and mode two is required to more that is, when having update at interval of prefixed time interval or whenever mapping relations New mappings relation table.In this way, being updated to mapping table, to improve the accuracy of data distribution.
Further, more new strategy is preset, comprising: at interval of prefixed time interval, primary preset relation table is read, and Mapping table is updated according to relation table.It is to be appreciated that in the present embodiment, mapping table is stored in local, relation table It can store in other servers.It, can under the premise of other restrictions being limited to the present embodiment of relation table are not conflicting With identical as previous embodiment, therefore not to repeat here.It is updated by way of reading relation table at interval of prefixed time interval Mapping table, in this way, the mapping table that timely updates after mapping relations change, time needed for switching distribution rules The prefixed time interval is not exceeded, the real-time of mapping table can be improved, to improve the accuracy of data distribution.More It further, can also include: between obtaining preset time before the step of updating mapping table according to default more new strategy Every.The mode for obtaining prefixed time interval may include: that developer is directly arranged in server end, so that server obtains Get the prefixed time interval.In addition, obtaining the mode of prefixed time interval can also include receiving the time that client is sent It is spaced setting information, to provide a kind of in such a way that prefixed time interval can be set dynamically in client.
In one embodiment, the step of user's characteristic information being determined according to subscriber identity information, comprising: by user's body Part information is as user's characteristic information.In the present embodiment, subscriber identity information be can be directly as user's characteristic information Information, the i.e. subscriber identity information can be such as user account, in this way, simple with unique identification user and programmable The operating process for changing data distribution, improves the distribution efficiency of data distribution.
In another embodiment, the step of user's characteristic information being determined according to subscriber identity information, comprising: according to user's body Part information determines eap-message digest, and determines user's characteristic information according to eap-message digest.In the present embodiment, by will be programmable Eap-message digest is as user's characteristic information, can be cryptographic Hash e.g., in this way, make user's characteristic information programmable, Subscriber identity information can be using information such as the user's names for not having programmability originally, and the scope of application is wider, thus, it can To improve the applicability of data distribution.
In a wherein specific embodiment, method includes:
User's request is received, and extracts the subscriber identity information of user's request;
Using subscriber identity information as user's characteristic information, or, determine the eap-message digest of subscriber identity information, and according to disappearing Breath, which is made a summary, determines user's characteristic information;
Server identification corresponding with user's characteristic information is searched in mapping table;
When there is server identification corresponding with user's characteristic information, user's request is distributed to and server identification pair The server answered;
When server identification corresponding with user's characteristic information is not present, user's request is distributed to particular server;
At interval of prefixed time interval, primary preset relation table is read, and mapping table is updated according to relation table;
The establishment process of mapping table, comprising:
User's binding information is obtained, user's binding information includes user's characteristic information and server identification;
According to user's binding information, mapping table is generated.
It should be understood that although each step in the flow chart of Fig. 2,3,5 is successively shown according to the instruction of arrow, It is these steps is not that the inevitable sequence according to arrow instruction successively executes.Unless expressly stating otherwise herein, these steps There is no stringent sequences to limit for rapid execution, these steps can execute in other order.Moreover, in Fig. 2,3,5 extremely Few a part of step may include that perhaps these sub-steps of multiple stages or stage are not necessarily same to multiple sub-steps Moment executes completion, but can execute at different times, and the execution sequence in these sub-steps or stage is also not necessarily It successively carries out, but in turn or can be handed over at least part of the sub-step or stage of other steps or other steps Alternately execute.
In one embodiment, as shown in fig. 7, providing a kind of data delivery device, comprising:
Request receiving module 702 for receiving user's request, and extracts the subscriber identity information of user's request;
Characteristic determination module 704, for determining user's characteristic information according to the subscriber identity information;
Respective modules 706 are identified, for determining server identification corresponding with the user's characteristic information;
Distribution module 708 being requested, being used for when there is server identification corresponding with the user's characteristic information, it will be described User's request is distributed to server corresponding with the server identification.
Above-mentioned data delivery device extracts the subscriber identity information of user's request, and according to this by receiving user's request Subscriber identity information determines user's characteristic information;Then server identification corresponding with user's characteristic information is determined;Finally, depositing In server identification corresponding with the user's characteristic information, user's request is distributed to corresponding with the server identification Server.In this way, when requesting different business, without corresponding to corresponding server by different domain names, but according to User's characteristic information is come server corresponding with corresponding to.The user's characteristic information is related to subscriber identity information, developer User's characteristic information is uniformly controlled with can be convenient.Therefore, which can be convenient user's operation, and access can be improved The distribution efficiency of stratum server.
In one embodiment, distribution module 708 is requested, is also used to there is no corresponding with the user's characteristic information Server identification when, by the user request be distributed to particular server.
In one embodiment, the mark respective modules 706, for being searched and the user in mapping table The corresponding server identification of characteristic information.
In one embodiment, the characteristic determination module 704, for using the subscriber identity information as the use Family characteristic information;Or, the characteristic determination module 704, for determining the eap-message digest of the subscriber identity information, and according to institute It states eap-message digest and determines the user's characteristic information.
In one embodiment, as shown in figure 8, described device, further includes: data obtaining module 8052 and mapping are closed It is generation module 8054.
Data obtaining module 8052, for obtaining user's binding information, user's binding information includes that the user is special Reference breath and the server identification;
Mapping relations generation module 8054, for generating the mapping table according to user's binding information.
In one embodiment, described device, further includes:
Relationship update module 8056, for updating the mapping table according to more new strategy is preset.
In one embodiment, the relationship update module 8056, for reading primary at interval of prefixed time interval Preset relation table, and the mapping table is updated according to the relation table.
Specific about data delivery device limits the restriction that may refer to above for data distributing method, herein not It repeats again.Modules in above-mentioned data delivery device can be realized fully or partially through software, hardware and combinations thereof.On Stating each module can be embedded in the form of hardware or independently of in the processor in computer equipment, can also store in a software form In memory in computer equipment, the corresponding operation of the above modules is executed in order to which processor calls.
In one embodiment, a kind of computer equipment is provided, which can be server, internal junction Composition can be as shown in Figure 9.The computer equipment includes processor, memory and the network interface connected by system bus. Wherein, the processor of the computer equipment is for providing calculating and control ability.The memory of the computer equipment includes non-easy The property lost storage medium, built-in storage.The non-volatile memory medium is stored with operating system and computer program.The built-in storage Operation for operating system and computer program in non-volatile memory medium provides environment.The network of the computer equipment connects Mouth with external terminal by network connection for being communicated.To realize a kind of data point when the computer program is executed by processor Forwarding method.
It will be understood by those skilled in the art that structure shown in Fig. 9, only part relevant to application scheme is tied The block diagram of structure does not constitute the restriction for the computer equipment being applied thereon to application scheme, specific computer equipment It may include perhaps combining certain components or with different component layouts than more or fewer components as shown in the figure.
In one embodiment, a kind of computer equipment, including memory and processor are provided, is stored in memory Computer program, the processor perform the steps of when executing computer program
User's request is received, and extracts the subscriber identity information of user's request;
User's characteristic information is determined according to the subscriber identity information;
Determine server identification corresponding with the user's characteristic information;
Exist server identification corresponding with the user's characteristic information when, by the user request be distributed to it is described The corresponding server of server identification.
In one embodiment, the step of determination corresponding with user's characteristic information server identification, packet It includes: searching server identification corresponding with the user's characteristic information in mapping table.
In one embodiment, the establishment process of the mapping table, comprising:
User's binding information is obtained, user's binding information includes the user's characteristic information and the server mark Know;
According to user's binding information, the mapping table is generated.
In one embodiment, it further comprises the steps of:
According to default more new strategy, the mapping table is updated.
In one embodiment, the default more new strategy, comprising:
At interval of prefixed time interval, primary preset relation table is read, and the mapping is updated according to the relation table Relation table.
In one embodiment, described the step of user's characteristic information is determined according to the subscriber identity information, including Any one in following two:
Using the subscriber identity information as the user's characteristic information;
It determines the eap-message digest of the subscriber identity information, and determines that the user characteristics are believed according to the eap-message digest Breath.
In one embodiment, it further comprises the steps of:
When server identification corresponding with the user's characteristic information is not present, user request is distributed to specific Server.
In one embodiment, a kind of computer readable storage medium is provided, computer program is stored thereon with, is calculated Machine program performs the steps of when being executed by processor
User's request is received, and extracts the subscriber identity information of user's request;
User's characteristic information is determined according to the subscriber identity information;
Determine server identification corresponding with the user's characteristic information;
Exist server identification corresponding with the user's characteristic information when, by the user request be distributed to it is described The corresponding server of server identification.
In one embodiment, the step of determination corresponding with user's characteristic information server identification, packet It includes: searching server identification corresponding with the user's characteristic information in mapping table.
In one embodiment, the establishment process of the mapping table, comprising:
User's binding information is obtained, user's binding information includes the user's characteristic information and the server mark Know;
According to user's binding information, the mapping table is generated.
In one embodiment, it further comprises the steps of:
According to default more new strategy, the mapping table is updated.
In one embodiment, the default more new strategy, comprising:
At interval of prefixed time interval, primary preset relation table is read, and the mapping is updated according to the relation table Relation table.
In one embodiment, described the step of user's characteristic information is determined according to the subscriber identity information, including Any one in following two:
Using the subscriber identity information as the user's characteristic information;
It determines the eap-message digest of the subscriber identity information, and determines that the user characteristics are believed according to the eap-message digest Breath.
In one embodiment, it further comprises the steps of:
When server identification corresponding with the user's characteristic information is not present, user request is distributed to specific Server.
Those of ordinary skill in the art will appreciate that realizing all or part of the process in above-described embodiment method, being can be with Relevant hardware is instructed to complete by computer program, the computer program can be stored in a non-volatile computer In read/write memory medium, the computer program is when being executed, it may include such as the process of the embodiment of above-mentioned each method.Wherein, To any reference of memory, storage, database or other media used in each embodiment provided herein, Including non-volatile and/or volatile memory.Nonvolatile memory may include read-only memory (ROM), programming ROM (PROM), electrically programmable ROM (EPROM), electrically erasable ROM (EEPROM) or flash memory.Volatile memory may include Random access memory (RAM) or external cache.By way of illustration and not limitation, RAM is available in many forms, Such as static state RAM (SRAM), dynamic ram (DRAM), synchronous dram (SDRAM), double data rate sdram (DDRSDRAM), enhancing Type SDRAM (ESDRAM), synchronization link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic ram (DRDRAM) and memory bus dynamic ram (RDRAM) etc..
Each technical characteristic of above embodiments can be combined arbitrarily, for simplicity of description, not to above-described embodiment In each technical characteristic it is all possible combination be all described, as long as however, the combination of these technical characteristics be not present lance Shield all should be considered as described in this specification.
The several embodiments of the application above described embodiment only expresses, the description thereof is more specific and detailed, but simultaneously It cannot therefore be construed as limiting the scope of the patent.It should be pointed out that coming for those of ordinary skill in the art It says, without departing from the concept of this application, various modifications and improvements can be made, these belong to the protection of the application Range.Therefore, the scope of protection shall be subject to the appended claims for the application patent.

Claims (15)

1. a kind of data distributing method, which comprises
User's request is received, and extracts the subscriber identity information of user's request;
User's characteristic information is determined according to the subscriber identity information;
Determine server identification corresponding with the user's characteristic information;
When there is server identification corresponding with the user's characteristic information, user request is distributed to and the service Device identifies corresponding server.
2. the method according to claim 1, wherein determination service corresponding with the user's characteristic information The step of device identifies, comprising: server identification corresponding with the user's characteristic information is searched in mapping table.
3. according to the method described in claim 2, it is characterized in that, the establishment process of the mapping table, comprising:
User's binding information is obtained, user's binding information includes the user's characteristic information and the server identification;
According to user's binding information, the mapping table is generated.
4. according to the method described in claim 2, it is characterized in that, further comprising the steps of:
According to default more new strategy, the mapping table is updated.
5. according to the method described in claim 4, it is characterized in that, the default more new strategy, comprising:
At interval of prefixed time interval, primary preset relation table is read, and the mapping relations are updated according to the relation table Table.
6. the method according to claim 1, wherein described determine user characteristics according to the subscriber identity information The step of information, including any one in following two:
Using the subscriber identity information as the user's characteristic information;
It determines the eap-message digest of the subscriber identity information, and the user's characteristic information is determined according to the eap-message digest.
7. the method according to claim 1, wherein further comprising the steps of:
When server identification corresponding with the user's characteristic information is not present, user request is distributed to special services Device.
8. a kind of data delivery device, described device include:
Request receiving module for receiving user's request, and extracts the subscriber identity information of user's request;
Characteristic determination module, for determining user's characteristic information according to the subscriber identity information;
Respective modules are identified, for determining server identification corresponding with the user's characteristic information;
Distribution module is requested, for when there is server identification corresponding with the user's characteristic information, the user to be asked It asks and is distributed to the server.
9. device according to claim 8, which is characterized in that the mark respective modules, in mapping table Search server identification corresponding with the user's characteristic information;
Described device, further includes:
Data obtaining module, for obtaining user's binding information, user's binding information include the user's characteristic information and The server identification;
Mapping relations generation module, for generating the mapping table according to user's binding information.
10. device according to claim 9, which is characterized in that described device, further includes:
Relationship update module, for updating the mapping table according to more new strategy is preset.
11. device according to claim 10, it is characterised in that:
The relationship update module, for reading primary preset relation table at interval of prefixed time interval, and according to the pass It is that table updates the mapping table.
12. device according to claim 8, it is characterised in that:
The characteristic determination module, for using the subscriber identity information as the user's characteristic information;Or,
The characteristic determination module, for determining the eap-message digest of the subscriber identity information, and it is true according to the eap-message digest The fixed user's characteristic information.
13. device according to claim 8, it is characterised in that:
The request distribution module is also used to when server identification corresponding with the user's characteristic information is not present, by institute It states user's request and is distributed to particular server.
14. a kind of computer equipment, including memory and processor, the memory are stored with computer program, feature exists In the step of processor realizes any one of claims 1 to 7 the method when executing the computer program.
15. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the computer program The step of method described in any one of claims 1 to 7 is realized when being executed by processor.
CN201810292097.6A 2018-04-03 2018-04-03 Data distribution method and device, computer equipment and storage medium Active CN110213392B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810292097.6A CN110213392B (en) 2018-04-03 2018-04-03 Data distribution method and device, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810292097.6A CN110213392B (en) 2018-04-03 2018-04-03 Data distribution method and device, computer equipment and storage medium

Publications (2)

Publication Number Publication Date
CN110213392A true CN110213392A (en) 2019-09-06
CN110213392B CN110213392B (en) 2021-12-14

Family

ID=67778766

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810292097.6A Active CN110213392B (en) 2018-04-03 2018-04-03 Data distribution method and device, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN110213392B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111866093A (en) * 2020-07-01 2020-10-30 中国银行股份有限公司 Service data distribution method and device
CN112286410A (en) * 2020-09-25 2021-01-29 长沙市到家悠享网络科技有限公司 Data processing method and device, electronic equipment and computer readable medium
CN112714011A (en) * 2020-12-15 2021-04-27 贝壳技术有限公司 Distribution information configuration method and device, electronic equipment and storage medium
CN113014650A (en) * 2021-03-01 2021-06-22 中国工商银行股份有限公司 Processing method and device for data request, computing equipment and medium
CN114374668A (en) * 2021-12-30 2022-04-19 北京北信源软件股份有限公司 Information processing method, information processing device, electronic equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6662215B1 (en) * 2000-07-10 2003-12-09 I Novation Inc. System and method for content optimization
CN101345758A (en) * 2008-08-14 2009-01-14 中兴通讯股份有限公司 Report normalization processing method, apparatus and system
CN102571699A (en) * 2010-12-20 2012-07-11 中兴通讯股份有限公司 Method for selecting application server in application server pool and device adopting same
CN106230925A (en) * 2016-07-28 2016-12-14 杭州华三通信技术有限公司 A kind of access control method and device
CN107026826A (en) * 2016-02-02 2017-08-08 阿里巴巴集团控股有限公司 Data processing method, device, server and high in the clouds management system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6662215B1 (en) * 2000-07-10 2003-12-09 I Novation Inc. System and method for content optimization
CN101345758A (en) * 2008-08-14 2009-01-14 中兴通讯股份有限公司 Report normalization processing method, apparatus and system
CN102571699A (en) * 2010-12-20 2012-07-11 中兴通讯股份有限公司 Method for selecting application server in application server pool and device adopting same
CN107026826A (en) * 2016-02-02 2017-08-08 阿里巴巴集团控股有限公司 Data processing method, device, server and high in the clouds management system
CN106230925A (en) * 2016-07-28 2016-12-14 杭州华三通信技术有限公司 A kind of access control method and device

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111866093A (en) * 2020-07-01 2020-10-30 中国银行股份有限公司 Service data distribution method and device
CN112286410A (en) * 2020-09-25 2021-01-29 长沙市到家悠享网络科技有限公司 Data processing method and device, electronic equipment and computer readable medium
CN112714011A (en) * 2020-12-15 2021-04-27 贝壳技术有限公司 Distribution information configuration method and device, electronic equipment and storage medium
CN112714011B (en) * 2020-12-15 2023-06-02 贝壳技术有限公司 Distribution information configuration method, device, electronic equipment and storage medium
CN113014650A (en) * 2021-03-01 2021-06-22 中国工商银行股份有限公司 Processing method and device for data request, computing equipment and medium
CN113014650B (en) * 2021-03-01 2022-12-23 中国工商银行股份有限公司 Processing method and device for data request, computing equipment and medium
CN114374668A (en) * 2021-12-30 2022-04-19 北京北信源软件股份有限公司 Information processing method, information processing device, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN110213392B (en) 2021-12-14

Similar Documents

Publication Publication Date Title
CN110213392A (en) Data distributing method, device, computer equipment and storage medium
CN106933871B (en) Short link processing method and device and short link server
CN110727499A (en) Resource data acquisition method and device, computer equipment and storage medium
CN104202360B (en) The method of accessed web page, device and router
WO2017088703A1 (en) Page jumping method and apparatus
CN104954468A (en) Resource allocation method and resource allocation device
CN102307219B (en) File access system, file uploading method and file downloading method
US11553030B2 (en) Service worker configured to serve multiple single page applications
WO2020211365A1 (en) Flow load balancing method and apparatus, computer device and storage medium
CN109040227A (en) Service request response method, device and computer equipment based on block chain
CN112468540B (en) Cloud platform-based data distribution method, equipment and medium
CN106933965A (en) The method of static resource request
CN109756584B (en) Domain name resolution method, domain name resolution device and computer readable storage medium
CN112100541B (en) Method and device for loading website page element, electronic device and storage medium
CN115361437B (en) Micro-service calling method and device, computer equipment and storage medium
CN110659938A (en) Method and device for determining promotion channel, computer equipment and storage medium
CN109462659A (en) Embedded device remote access control system, method and storage medium
CN104618388A (en) Quick registration and login method and corresponding reset server and information server
CN108965450A (en) Service request response method, device, computer equipment and storage medium
CN108763396A (en) Access request processing method, device, computer equipment and storage medium
CN106302861A (en) A kind of address distribution method and device
CN105446709A (en) Method and device for processing Java application
CN109684303A (en) Communications codes attribution inquiry method, device, computer equipment and storage medium
CN111901383A (en) Data request processing method and device, computer equipment and storage medium
CN100357919C (en) High performance managed runtime environment application manager

Legal Events

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