CN107948682B - Configuration method of service domain name, service server and terminal equipment - Google Patents

Configuration method of service domain name, service server and terminal equipment Download PDF

Info

Publication number
CN107948682B
CN107948682B CN201711172935.8A CN201711172935A CN107948682B CN 107948682 B CN107948682 B CN 107948682B CN 201711172935 A CN201711172935 A CN 201711172935A CN 107948682 B CN107948682 B CN 107948682B
Authority
CN
China
Prior art keywords
domain name
service
service domain
target
access 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.)
Active
Application number
CN201711172935.8A
Other languages
Chinese (zh)
Other versions
CN107948682A (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.)
Qingdao Hisense Media Network Technology Co Ltd
Original Assignee
Qingdao Hisense Media Network Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Qingdao Hisense Media Network Technology Co Ltd filed Critical Qingdao Hisense Media Network Technology Co Ltd
Priority to CN201711172935.8A priority Critical patent/CN107948682B/en
Publication of CN107948682A publication Critical patent/CN107948682A/en
Application granted granted Critical
Publication of CN107948682B publication Critical patent/CN107948682B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/25Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
    • H04N21/258Client or end-user data management, e.g. managing client capabilities, user preferences or demographics, processing of multiple end-users preferences to derive collaborative data
    • H04N21/25866Management of end-user data
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/239Interfacing the upstream path of the transmission network, e.g. prioritizing client content requests
    • H04N21/2393Interfacing the upstream path of the transmission network, e.g. prioritizing client content requests involving handling client requests
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/25Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
    • H04N21/254Management at additional data server, e.g. shopping server, rights management server
    • H04N21/2541Rights Management
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/25Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
    • H04N21/258Client or end-user data management, e.g. managing client capabilities, user preferences or demographics, processing of multiple end-users preferences to derive collaborative data
    • H04N21/25866Management of end-user data
    • H04N21/25891Management of end-user data being end-user preferences
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/25Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
    • H04N21/262Content or additional data distribution scheduling, e.g. sending additional data at off-peak times, updating software modules, calculating the carousel transmission frequency, delaying a video stream transmission, generating play-lists
    • H04N21/26291Content or additional data distribution scheduling, e.g. sending additional data at off-peak times, updating software modules, calculating the carousel transmission frequency, delaying a video stream transmission, generating play-lists for providing content or additional data updates, e.g. updating software modules, stored at the client
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/45Management operations performed by the client for facilitating the reception of or the interaction with the content or administrating data related to the end-user or to the client device itself, e.g. learning user preferences for recommending movies, resolving scheduling conflicts
    • H04N21/458Scheduling content for creating a personalised stream, e.g. by combining a locally stored advertisement with an incoming stream; Updating operations, e.g. for OS modules ; time-related management operations
    • 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)
  • Databases & Information Systems (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Computer Graphics (AREA)
  • Computer Security & Cryptography (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The embodiment of the invention provides a configuration method of a service domain name, a service server and terminal equipment. The method comprises the following steps: receiving a domain name access request sent by terminal equipment, wherein the domain name access request carries a user identifier; determining a target service domain name matched with the user identifier based on the association relationship between the preset user level and the service domain name, wherein different preset user levels are associated with different service domain names; and sending the target service domain name to the terminal equipment, wherein the target service domain name is used for updating the current service domain name stored in the terminal equipment. Therefore, the corresponding service domain name can be matched on the service server according to the user identification on the terminal equipment, the service domain name is updated on the terminal equipment, the dynamic configuration of the service domain name is realized, and the service server can be accessed by the updated service domain name.

Description

Configuration method of service domain name, service server and terminal equipment
Technical Field
The present invention relates to the field of internet communication technologies, and in particular, to a method for configuring a service domain name, a service server, and a terminal device.
Background
An electronic Service server (ECS) is a computing Service with a flexible processing capability, and the management method is simpler and more efficient than a physical server. The service server is an important component of cloud computing service and is a service platform for providing comprehensive service capability for various internet users. The platform integrates three core elements of internet application in the traditional sense: computing, storage, network, and providing a user with a public internet infrastructure service.
At present, the smart television provides rich and colorful television services for users by accessing cloud services. The process of accessing the cloud service by the smart television is that the smart television uses the stored cloud service domain name to access the service on the cloud server. The cloud service domain names stored on the smart television are pre-written in the codes in a static setting mode, when a large amount of cloud services face, a programmer needs to set different domain names for different cloud services, a large amount of human resources are consumed, the smart television accesses the cloud services on the cloud server through the static set fixed service domain names, and the access to the cloud services is the same.
However, in some cases, users are in different user levels on the terminal, and different levels of services need to be provided for different levels of users, so as to implement differentiation of cloud services, for example: when the video is watched in the application, the video is watched more quickly or at higher resolution by the member-level user compared with the non-member-level user, so that the user viscosity of the member-level user is improved.
Disclosure of Invention
The embodiment of the invention provides a configuration method of a service domain name, a service server and terminal equipment, and aims to solve the problem that in the prior art, due to the fact that a fixed service domain name is statically configured on an intelligent television, differentiated service processing cannot be provided for different user levels.
In a first aspect, the present invention provides a method for configuring a service domain name, including:
receiving a domain name access request sent by terminal equipment, wherein the domain name access request carries a user identifier;
determining a target service domain name matched with the user identifier based on the association relationship between the preset user level and the service domain name, wherein different preset user levels are associated with different service domain names;
and sending the target service domain name to the terminal equipment, wherein the target service domain name is used for updating the current service domain name stored in the terminal equipment.
In a second aspect, an embodiment of the present invention provides a method for configuring a service domain name, including:
sending a domain name access request to a service server, wherein the domain name access request carries a user identifier;
receiving a target service domain name sent by the service server, wherein the target service domain name is a target service domain name which is determined by the service server and matched with the user identifier based on the association relationship between the preset user level and the service domain name, and different service domain names are associated with different preset user levels;
and updating the stored current service domain name into the target service domain name, wherein the target service domain name is used for updating the current service domain name stored in the terminal equipment.
In a third aspect, an embodiment of the present invention provides a service server, including:
the receiving module is used for receiving a domain name access request sent by terminal equipment, wherein the domain name access request carries a user identifier;
the processing module is used for determining a target service domain name matched with the user identifier based on the association relationship between the preset user level and the service domain name, wherein different preset user levels are associated with different service domain names;
and the sending module is used for sending the target service domain name to the terminal equipment, and the target service domain name is used for updating the current service domain name stored in the terminal equipment.
In a fourth aspect, an embodiment of the present invention provides a terminal device, including:
the sending module is used for sending a domain name access request to a service server, wherein the domain name access request carries a user identifier;
a receiving module, configured to receive a target service domain name sent by the service server, where the target service domain name is a target service domain name that is determined by the service server and matched with the user identifier based on an association relationship between a preset user level and a service domain name, and different service domain names are associated with different preset user levels;
and the updating module is used for updating the stored current service domain name into the target service domain name.
The configuration method of the service domain name, the service server and the terminal device provided by the embodiment of the invention receive a domain name access request sent by the terminal device, wherein the domain name access request carries a user identifier; determining a target service domain name matched with the user identifier based on the association relationship between the preset user level and the service domain name, wherein different preset user levels are associated with different service domain names; and sending the target service domain name to the terminal equipment, wherein the target service domain name is used for updating the current service domain name stored in the terminal equipment. Therefore, the corresponding service domain name can be matched on the service server according to the user identification on the terminal equipment, the service domain name is updated on the terminal equipment, the dynamic configuration of the service domain name is realized, and the service server can be accessed by the updated service domain name.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to these drawings without creative efforts.
Fig. 1 is a signaling flowchart of a first embodiment of a method for configuring a service domain name according to the present invention;
fig. 2 is a diagram illustrating a relationship among a user, a service, and a domain name of the service in the first embodiment;
fig. 3 is a signaling flowchart of a second embodiment of a method for configuring a service domain name according to the present invention;
fig. 4 is a flowchart of a third embodiment of a method for configuring a service domain name according to the present invention;
fig. 5 is a schematic structural diagram of a first embodiment of a service server provided in the present invention;
fig. 6 is a schematic structural diagram of a second embodiment of a service server provided in the present invention;
fig. 7 is a schematic structural diagram of a third embodiment of a service server provided in the present invention;
fig. 8 is a schematic structural diagram of an embodiment of a terminal device provided in the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The service domain name of each service in the existing terminal equipment is pre-allocated and is written in the code. When the terminal device accesses the service on the cloud server, the terminal device accesses the cloud server using the fixed service domain name of the service to obtain the service (e.g., obtain video).
However, in actual use, the user levels in the service are different for different users, or the user levels in different time periods also change for the same user, and at this time, differentiated services need to be provided for users of different user levels on the service server. However, the same service uses the same service domain name to access a service server, and the service server provides the same service, wherein the service server may be a cloud server, and the service may be a cloud service.
The method provided by the embodiment of the invention enables the terminal equipment to update the service domain name matched with the current user level by dynamically issuing the service domain name of each service corresponding to the terminal equipment in a grading manner, and then accesses the service server by using the updated service domain name so as to ensure that the service server provides differentiated services, and enhances the service processing of the service request with high user level under the condition of normally processing the service request with low user level so as to improve the user experience of key users.
Meanwhile, in the embodiment, the service server can dynamically configure the service domain name of each service in a hierarchical manner, so that the service server can flexibly configure and deploy the service domain name, and the management and maintenance of the service server on the service domain name are improved.
The technical solution of the present invention will be described in detail below with specific examples. The following several specific embodiments may be combined with each other, and details of the same or similar concepts or processes may not be repeated in some embodiments.
Fig. 1 is a signaling flowchart of a first embodiment of a method for configuring a service domain name according to the present invention, and fig. 2 is a block diagram of a relationship between a user, a service, and a service domain name in the first embodiment. The embodiment relates to a specific process of interacting a service server and a terminal device and configuring a service domain name. As shown in fig. 1, the method of this embodiment may specifically include:
s101, the terminal equipment sends a domain name access request to a service server.
And the domain name access request carries a user identifier.
The terminal device of the embodiment can be a smart television, a smart phone, a computer and the like. The terminal device may correspond to one user or a plurality of users, that is, a plurality of users may use the terminal device.
The user can access a plurality of cloud services on the service server, for example, videos of different websites, such as a soul video, an love art video, and the like, and the cloud service of the embodiment is a service.
In practice, different levels of users on the terminal device are different, and different levels of cloud services need to be provided for different levels of users, so as to implement service differentiation. For example, when the network is slowed down, in order to preferentially ensure normal access of the priority user (i.e. the member user), it is necessary to put through the request of the normal user, such as directly returning default data to the normal user, or even directly rejecting the request of the normal user, by modifying the service domain name so that the priority user preferentially accesses the service using the modified service domain name. Therefore, the viscosity of the priority user can be increased, and the cloud service access experience of the priority user is improved.
In this embodiment, in order to obtain the updated service domain name of each service in time, the terminal device sends a domain name access request to the service server, where the domain name access request carries the user identifier.
The terminal device sends a domain name access request to the service server at any time of normal work, so that the service server sends the service domain name corresponding to the user identifier to the terminal device in real time. Or, the terminal device sends a domain name access request to the service server when the service access has a problem (for example, the video playing is jammed). Or, when the terminal device is powered on to connect with the network platform, the terminal device sends a domain name access request to the service server.
S102, the service server receives the domain name access request sent by the terminal equipment.
S103, the service server determines a target service domain name matched with the user identifier based on the preset association relationship between the user level and the service domain name.
Wherein different preset user levels are associated with different service domain names.
The service server of the embodiment has functions of user management and service domain name configuration.
In reality, in order to obtain more rights of a certain service, for example, to obtain a watching right of more videos in love, a user may register a member of the service, for example, register a member of love art, and may further watch videos that the member of love art can watch, so as to improve the watching experience of the user.
Thus, for a service, users can be divided into member-level users and non-member-level users, wherein the member-level users can be further divided into platinum members, common members and the like. The present embodiment refers to the membership level, non-membership level, etc. as the user level. At this time, in the same service, the user levels corresponding to different users may be different.
In this embodiment, in order to implement the differential access of the users, different service domain names are configured for different user levels. Specifically, an association relationship between the user level and the service domain name is preconfigured on the service server, and the association relationship may be uploaded to the service server after being preset by a worker, or may be preset by the service server according to the user level. Wherein different user levels are associated with different business domain names, for example, a member level user is associated with an acceleration level domain name, and a non-member level user is associated with a general level domain name.
In this embodiment, after receiving the domain name access request, the service server parses the domain name access request to obtain the user identifier carried by the domain name access request, and then determines the user level corresponding to the user identifier. Then, the target service domain name associated with the user level is determined from the association relationship. For example, it is determined that the user identification is an expedited domain name for the cool target business domain name.
And S104, the service server sends the target service domain name to the terminal equipment.
And the target service domain name is used for updating the current service domain name stored in the terminal equipment.
S105, the terminal equipment receives the target service domain name sent by the service server.
And S106, the terminal equipment updates the stored current domain name into the target service domain name.
In this embodiment, after the service server determines the target service domain name corresponding to the user identifier according to the above steps, the service server sends the target service domain name to the terminal device.
And after receiving the target service domain name sent by the service server, the terminal equipment updates the current service domain name stored by the terminal equipment into the target service domain name. At this time, the terminal device may access the service using the target service domain name. For example, when the target business domain name is an acceleration domain name, the terminal device may use the acceleration domain name to access a business server, and the business server provides a high-quality service to the user according to the acceleration domain name, thereby improving the user viscosity of the member-level user.
Meanwhile, the service server can flexibly configure the service domain name of each service according to actual needs, thereby realizing flexible deployment and management of the service domain name.
In the configuration method for the service domain name provided by the embodiment of the invention, the terminal equipment sends a domain name access request to the service server, wherein the domain name access request carries the user identifier; the method comprises the steps that a service server receives a domain name access request sent by terminal equipment, and determines a target service domain name matched with a user identifier based on the association relation between preset user levels and service domain names, wherein different preset user levels are associated with different service domain names; and sending the target service domain name to the terminal equipment, and after receiving the target service domain name, the terminal equipment updates the current service domain name stored by the terminal equipment by using the target service domain name. Therefore, the service server can match the corresponding service domain name according to the user identification on the terminal equipment, the service domain name is updated on the terminal equipment, the dynamic configuration of the service domain name is realized, and meanwhile, the terminal equipment can access the service server by the updated service domain name so as to realize the differentiation of services.
Fig. 3 is a signaling flowchart of a second embodiment of the configuration method for a service domain name provided in the present invention, where on the basis of the foregoing embodiments, this embodiment relates to a specific process in which a service server sends a target service domain name to a terminal device, and the terminal device accesses the service server using the target service domain name, where S201 to S203 in this embodiment are the specific processes of S104. As shown in fig. 3, the present embodiment may include:
s201, the service server judges whether the target service domain name is the same as the current service domain name carried in the domain name access request.
In this embodiment, the domain name access request sent by the terminal device also carries the current service domain name stored in the terminal device.
After the service server determines the target service domain name corresponding to the user identifier according to the above embodiment, the service server determines whether the target service domain name changes, and pushes the changed target service domain name to the terminal device, so that the terminal device can obtain the changed target service domain name in time, and access the service according to the changed target service domain name, thereby implementing differentiated access to the service. Specifically, the service server compares the determined target service domain name with the current service domain name, and determines whether the target service domain name is the same as the current service domain name.
S202, if not, the service server sends a push message to the terminal equipment, wherein the push message carries the current domain name of the service.
And when the service server judges that the target service domain name is different from the current service domain name in the terminal equipment, carrying the target service domain name in a push message and pushing the push message to the terminal equipment.
And S203, if so, the service server sends a response message to the terminal equipment, wherein the response message is used for feeding back current service data corresponding to the current service domain name.
When the service server judges that the target service domain name is the same as the current service domain name in the terminal equipment, in order to avoid repetition, the service server does not send the target service domain name to the terminal equipment, but directly sends the current service data corresponding to the current service domain name to the terminal equipment.
Optionally, the response message may also be used to instruct the terminal device to use the current service domain name stored in the terminal device to access the service.
S204, the terminal equipment receives the push message or the response message sent by the service server.
When the terminal equipment receives the push message sent by the service server, the push message or the response message is analyzed, and the target service domain name is obtained from the push message.
And then, the terminal equipment updates the stored current service domain name, specifically, the target service domain name is used for replacing the current service domain name, so that the service domain name stored in the terminal equipment is the same as the service domain name on the service server. When the user accesses next time, the updated target service domain name can be used for accessing the cloud service, and then differentiated access of users of different user levels to the service is achieved.
When the terminal equipment receives a response message sent by the service server, the terminal equipment analyzes the response message and directly obtains current service data corresponding to the current service domain name from the response message.
S205, the terminal device sends a service access request to the service server according to the updated target service domain name, wherein the service access request carries the target service domain name.
And when accessing next time, the terminal equipment uses the updated target service domain name to access the cloud service on the service server. Specifically, the terminal device sends a service access request to the service server, where the service access request carries a target service domain name.
Optionally, if the response message is used to instruct the terminal device to access the service using the current service domain name stored in the terminal device, the terminal device accesses the cloud service on the service server using the current service domain name stored in the terminal device when accessing next time. Specifically, the terminal device sends a service access request to the service server, where the service access request carries a current service domain name.
S206, the service server receives the service access request sent by the terminal equipment.
S207, the service server carries out current service processing corresponding to the target service domain name according to the target service domain name.
Specifically, after receiving a service access request sent by a terminal device, a service server resolves the service access request, and when the service access request carries a target service domain name, the service server uses the target service domain name to perform current service processing corresponding to the target service domain name.
Or, when the service access request carries the current service domain name, the service server uses the current service domain name to perform the current service processing corresponding to the current service domain name.
It should be noted that the service access request further includes a user identifier, when receiving the service access request sent by the terminal device, the service server compares a target service domain name (or previous service domain name) corresponding to the user identifier carried in the service access request with a service domain name corresponding to the user identifier in the service server, and when the target service domain name (or previous service domain name) is the same as the service domain name, the service server can perform current service processing according to the target service domain name (or previous service domain name).
In this embodiment, as shown in fig. 2, when the user levels of the users are different for each service, the service domain names corresponding to the users are also different, for example, for a certain service, the domain name corresponding to a member is an acceleration-level domain name, and the domain name corresponding to a non-member is a normal-level domain name.
In this way, the performing, according to the target service domain name, the current service processing corresponding to the target service domain name may specifically include:
and when the target service domain name is determined to be the acceleration-level domain name, accelerating the service access request so as to reduce the time for responding to the service access request.
And when the target service domain name is determined to be a common-level domain name, processing the service access request with normal bandwidth.
It should be noted that the target service domain name in this embodiment has a validity period, and when the validity period is exceeded, the terminal device cannot continue to perform the access service using the target service domain name.
For example, for one service, the cloud server monitors whether the user level of the user for each service changes in different time periods in real time. For example, the user a is a strange member, the member deadline of the user a is 1 month, the video on the service server is accessed within the member deadline by using the speed-up domain name, and for the service request accessed by the speed-up domain name, the service server allocates more bandwidth for service processing. After 1 month, the user A becomes a strange non-member, and the video cannot be accessed when the terminal equipment uses the speed-up domain name. At this time, the service server sends the ordinary domain name corresponding to the user a to the terminal device, the terminal device accesses the video by using the ordinary domain name, and the service server allocates a normal bandwidth to perform service processing.
That is, in this embodiment, the service server configures service domain names of different levels for users of different levels, so that a priority user uses an accelerated level domain name access service, and a normal level user uses a normal level domain name access service, thereby providing a differentiated service for the user and improving the cloud service experience of the priority user.
In the method for configuring a service domain name provided in the embodiment of the present invention, when the service server determines that the target service domain name changes, the service server pushes the target service domain name carried in the push message to the terminal device, so that the terminal device updates the stored current service domain name, and uses the target service domain name to perform service access. When the service server judges that the target service domain name is not changed, the response message is sent to the terminal equipment, so that the terminal equipment uses the current service domain name stored by the terminal equipment to access the service, and better service domain name access experience is provided for the user.
Fig. 4 is a flowchart of a third embodiment of the method for configuring a service domain name according to the present invention, where on the basis of the above embodiments, this embodiment relates to a specific process in which a service server determines a target service domain name matched with a user identifier based on a preset association relationship between a user level and the service domain name. As shown in fig. 4, that is, the above S103 may include:
s301, the service server searches a target user level consistent with the current user level contained in the user identification from the service domain name library.
S302, the service server extracts the incidence relation containing the target user level, and takes the service domain name contained in the extracted incidence relation as the target service domain name.
In the service server of this embodiment, a service domain name library is stored, and an association relationship between a preset user level and a service domain name is stored in the service domain name library. Meanwhile, the domain name access request sent by the terminal device not only carries the user identifier, but also carries the current user level of the user.
In this embodiment, after the service server obtains the user identifier and the current user level sent by the terminal device, a target user level consistent with the current user level is searched from the service domain name library.
After the target user level is obtained, the incidence relation corresponding to the target user level is extracted from the service domain name library, and the service domain name in the incidence relation is determined as the target service domain name.
For example, it is assumed that the user identifier a is at a member level with respect to the singular current user level, the current service domain name stored in the terminal device is a, and in the association relationship between the preset user level and the service domain name stored in the service domain name library, the service domain name associated with the member level is b. Thus, after the service server obtains the user identifier a, it is determined that the current user level corresponding to the user identifier a is the member level, and at this time, it may be determined that the target user level is the member level. Then, the service server inquires the service domain name b corresponding to the member level from the service domain name library, and the service domain name b is used as the target service domain name, so that the target service domain name corresponding to the user identifier is accurately determined. And then, the target service domain name b is sent to the terminal equipment, so that the terminal equipment updates the current service domain name a to the target service domain name b, and the terminal equipment uses the target service domain name b to access the service when accessing next time.
In a possible implementation manner of this embodiment, the step S103 may further include: the service domain names contained in different said associations are used to provide different levels of service processing operations.
That is, in the preset association relationship between the user level and the service domain name in this embodiment, the service domain names in different association relationships correspond to service processing operations at different levels. For example, the association 1 is: the member level corresponds to the acceleration level domain name, and the association relation 2 is as follows: the non-member level corresponds to a generic domain name. That is, the speed-up domain name in the association 1 can provide the user with speed-up business processing, and the normal domain name in the association 2 can provide the user with normal business processing. In other words, in this embodiment, different user levels correspond to different service domain names, and the different service domain names provide different levels of service processing operations, thereby realizing differentiation of services and ensuring cloud service experience of a high-priority user.
Further, in this embodiment, before the terminal device sends the domain name access request to the service server, the validity of the user needs to be authenticated. The method specifically comprises the following steps:
first, the terminal device sends an authentication request to the service server. Wherein the authentication request includes a username and a user password of the user.
When a user accesses a certain service on the service server for the first time, the user needs to register, and when the user registers, the user name and the user password are sent to the service server, so that the user name and the user password of the user are stored on the service server.
And then, the service server receives the authentication request sent by the terminal equipment, authenticates the user according to the user name and the user password, and sends an authentication response message to the terminal equipment.
And after receiving the authentication request sent by the terminal equipment, the service server analyzes the authentication request and obtains the user name and the user password of the user from the authentication request. And then, the service server matches the user name and the user password carried in the authentication request with the user name and the user password stored by the service server to obtain an authentication result, carries the authentication result in an authentication response message, and sends the authentication result to the terminal equipment.
And when any one of the user name and the user password is failed to be matched, the authentication result is failed.
Then, the terminal equipment receives the authentication response message sent by the service server, and sends a domain name access request to the service server when the authentication result is passed.
And after receiving the authentication response message sent by the service server, the terminal equipment analyzes the authentication response message, and when the authentication result in the authentication response message is passed, the terminal equipment sends a domain name access request to the service server.
According to the embodiment, the legality of the user is authenticated, so that the illegal user is prevented from accessing the service server, and the security of the user accessing the cloud service is improved.
In this embodiment, after the terminal passes the authentication, a token (token) corresponding to the authentication may be obtained, and the terminal device accesses the cloud service by using the token in the subsequent access process to obtain the service domain name.
Fig. 5 is a schematic structural diagram of a first embodiment of a service server provided in the present invention. The service server 100 may be a service server. As shown in fig. 5, the apparatus of the present embodiment may include:
a receiving module 110, configured to receive a domain name access request sent by a terminal device, where the domain name access request carries a user identifier;
a processing module 120, configured to determine, based on an association relationship between a preset user level and a service domain name, a target service domain name matched with the user identifier, where different preset user levels are associated with different service domain names;
a sending module 130, configured to send the target service domain name to the terminal device, where the target service domain name is used to update a current service domain name stored in the terminal device.
The service server of the embodiment of the present invention may be configured to execute the technical solution of the above-described method embodiment, and the implementation principle and the technical effect are similar, which are not described herein again.
Fig. 6 is a schematic structural diagram of a second embodiment of a service server provided in the present invention. On the basis of the above embodiment, the sending module 130 of the present embodiment includes the judging unit 131, the sending unit 132:
a determining unit 131, configured to determine whether the target service domain name is the same as the current service domain name carried in the domain name access request.
A sending unit 132, configured to send a push message to the terminal device when the determining unit 131 determines that the target service domain name is different from the current service domain name, where the push message carries the target service domain name.
The sending unit 132 is further configured to send a response message to the terminal device when the determining unit 131 determines that the target service domain name is the same as the current service domain name, where the response message is used to feed back current service data corresponding to the current service domain name.
The service server of the embodiment of the present invention may be configured to execute the technical solution of the above-described method embodiment, and the implementation principle and the technical effect are similar, which are not described herein again.
Fig. 7 is a schematic structural diagram of a third embodiment of a service server provided in the present invention. On the basis of the above embodiment, the processing module 120 of the present embodiment includes a search unit 121 and an extraction unit 122:
a searching unit 121, configured to search, from the service domain name library, a target user level that is consistent with the current user level included in the user identifier.
An extracting unit 122, configured to extract an association relationship including the target user level, and use a service domain name included in the extracted association relationship as the target service domain name.
Optionally, the service domain names included in different association relations are used for providing service processing operations of different levels.
In a possible implementation manner of this embodiment, the receiving module 110 is further configured to receive a service access request sent by the terminal device, where the service access request carries the target service domain name.
The processing module 120 is further configured to perform current service processing corresponding to the target service domain name according to the target service domain name.
In a possible implementation manner of this embodiment, the processing module 120 is specifically configured to, when it is determined that the target service domain name is an acceleration-level domain name, accelerate the service access request to reduce a time for responding to the service access request; and when the target service domain name is determined to be a common-level domain name, processing the service access request with normal bandwidth.
The service server of the embodiment of the present invention may be configured to execute the technical solution of the above-described method embodiment, and the implementation principle and the technical effect are similar, which are not described herein again.
Fig. 8 is a schematic structural diagram of an embodiment of a terminal device provided in the present invention. As shown in fig. 8, the terminal device 200 of the present embodiment may include:
the sending module 210 is configured to send a domain name access request to a service server, where the domain name access request carries a user identifier.
A receiving module 220, configured to receive a target service domain name sent by the service server, where the target service domain name is a target service domain name that is determined by the service server and matched with the user identifier based on an association relationship between a preset user level and a service domain name, and different service domain names are associated with different preset user levels.
An updating module 230, configured to update the stored current service domain name to the target service domain name. The terminal device of the embodiment of the present invention may be configured to execute the technical solution of the above-described method embodiment, and the implementation principle and the technical effect are similar, which are not described herein again.
In a possible implementation manner of this embodiment, the receiving module 220 is specifically configured to receive a push message or a response message sent by the service server, where the push message carries the target service domain name and is pushed when the service server determines that the target service domain name is different from the current service domain name carried in the domain name access request, or the response message feeds back current service data corresponding to the current service domain name to a terminal device when the service server determines that the target service domain name is the same as the current service domain name.
In a possible implementation manner of this embodiment, the sending module 210 is configured to send a service access request to the service server according to the updated target service domain name, where the service access request carries the target service domain name or the current service domain name.
The terminal device of the embodiment of the present invention may be configured to execute the technical solution of the above-described method embodiment, and the implementation principle and the technical effect are similar, which are not described herein again.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solution of the present invention, and not to limit the same; while the invention has been described in detail and with reference to the foregoing embodiments, it will be understood by those skilled in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some or all of the technical features may be equivalently replaced; and the modifications or the substitutions do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present invention.

Claims (11)

1. A method for configuring a service domain name, comprising:
receiving a domain name access request sent by terminal equipment, wherein the domain name access request carries a user identifier and a current service domain name;
determining whether the current service domain name is consistent with a target service domain name matched with the user identifier or not based on an association relation between a preset user level and the service domain name, wherein different preset user levels are associated with different service domain names;
if the current service domain name is consistent with the current service domain name, current service data corresponding to the current service domain name is sent to the terminal equipment;
and if the current service domain name is inconsistent with the target service domain name, sending the target service domain name to the terminal equipment, wherein the target service domain name is used for updating the current service domain name stored in the terminal equipment, so that the terminal equipment initiates a service access request according to the updated target service domain name to obtain service data.
2. The method according to claim 1, wherein the sending the target service domain name to the terminal device specifically includes:
and sending a push message to the terminal equipment, wherein the push message carries the target service domain name.
3. The method according to claim 1, wherein the determining a target service domain name matching the user identifier based on an association relationship between a preset user level and a service domain name, where different preset user levels are associated with different service domain names specifically includes:
searching a target user level corresponding to the current user represented by the user identifier from a service domain name library;
and extracting the incidence relation containing the target user level, and taking the service domain name contained in the extracted incidence relation as the target service domain name.
4. The method according to claim 1, wherein determining a target service domain name matching the user identifier based on a preset association relationship between a user level and a service domain name specifically includes:
the service domain names contained in different said associations are used to provide different levels of service processing operations.
5. The method according to any one of claims 1 to 4, wherein after the sending the target service domain name to the terminal device, specifically includes:
receiving a service access request sent by the terminal equipment, wherein the service access request carries the target service domain name;
and performing current service processing corresponding to the target service domain name according to the target service domain name.
6. The method according to claim 5, wherein performing current service processing corresponding to the target service domain name according to the target service domain name specifically includes:
when the target service domain name is determined to be an acceleration-level domain name, accelerating the service access request to reduce the time for responding to the service access request;
and when the target service domain name is determined to be a common-level domain name, processing the service access request with normal bandwidth.
7. A method for configuring a service domain name, comprising:
sending a domain name access request to a service server, wherein the domain name access request carries a user identifier and a current service domain name, and the domain name access request is used for indicating the service server to determine whether a target service domain name matched with the user identifier is consistent with the current service domain name based on a preset incidence relation between a user level and the service domain name; wherein different preset user levels are associated with different service domain names;
when the current service domain name is consistent with the current service domain name, receiving current service data which is sent by the service server and corresponds to the current service domain name;
and when the target service domain names are inconsistent, receiving the target service domain names, updating the stored current service domain names into the target service domain names, and initiating service access requests according to the updated target service domain names to obtain service data.
8. The method according to claim 7, wherein the receiving the target service domain name sent by the service server specifically includes:
and receiving a push message sent by the service server, wherein the push message carries the target service domain name.
9. The method according to claim 7 or 8, wherein after receiving the push message sent by the service server, specifically comprising:
and sending a service access request to the service server according to the updated target service domain name, wherein the service access request carries the target service domain name.
10. A traffic server, comprising:
the receiving module is used for receiving a domain name access request sent by terminal equipment, wherein the domain name access request carries a user identifier and a current service domain name;
the processing module is used for determining whether the current service domain name is consistent with a target service domain name matched with the user identifier or not based on the association relation between the preset user level and the service domain name, wherein different preset user levels are associated with different service domain names;
a sending module, configured to send current service data corresponding to the current service domain name to the terminal device if the current service data is consistent with the current service domain name; and if the current service domain name is inconsistent with the target service domain name, sending the target service domain name to the terminal equipment, wherein the target service domain name is used for updating the current service domain name stored in the terminal equipment, so that the terminal equipment initiates a service access request according to the updated target service domain name to obtain service data.
11. A terminal device, comprising:
the system comprises a sending module, a receiving module and a sending module, wherein the sending module is used for sending a domain name access request to a service server, the domain name access request carries a user identifier and a current service domain name, and the domain name access request is used for indicating the service server to determine whether a target service domain name matched with the user identifier is consistent with the current service domain name based on a preset incidence relation between a user level and a service domain name; wherein different preset user levels are associated with different service domain names;
the receiving module is used for receiving current service data which is sent by the service server and corresponds to the current service domain name when the current service data is consistent with the current service domain name; when the domain names are inconsistent, receiving a target service domain name sent by the service server;
and the updating module is used for updating the stored current service domain name into the target service domain name and initiating a service access request according to the updated target service domain name to obtain service data.
CN201711172935.8A 2017-11-22 2017-11-22 Configuration method of service domain name, service server and terminal equipment Active CN107948682B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711172935.8A CN107948682B (en) 2017-11-22 2017-11-22 Configuration method of service domain name, service server and terminal equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711172935.8A CN107948682B (en) 2017-11-22 2017-11-22 Configuration method of service domain name, service server and terminal equipment

Publications (2)

Publication Number Publication Date
CN107948682A CN107948682A (en) 2018-04-20
CN107948682B true CN107948682B (en) 2020-02-14

Family

ID=61929823

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711172935.8A Active CN107948682B (en) 2017-11-22 2017-11-22 Configuration method of service domain name, service server and terminal equipment

Country Status (1)

Country Link
CN (1) CN107948682B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113242210B (en) * 2021-04-09 2023-03-24 杭州闪电玩网络科技有限公司 DDoS (distributed denial of service) preventing method and system based on user grade distribution
CN113596053B (en) * 2021-08-06 2022-07-12 中国电信股份有限公司 Communication service processing method, system, device, medium and equipment
CN115174248B (en) * 2022-07-18 2023-08-04 天翼云科技有限公司 Control method and device for network access

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105872626A (en) * 2015-12-15 2016-08-17 乐视网信息技术(北京)股份有限公司 Video playing method and device
CN106161636A (en) * 2016-07-21 2016-11-23 网宿科技股份有限公司 The methods, devices and systems of value-added service are provided
CN106162233A (en) * 2016-07-08 2016-11-23 合网络技术(北京)有限公司 Code check recommends method and device
CN106161158A (en) * 2016-07-21 2016-11-23 网宿科技股份有限公司 The methods, devices and systems of value-added service are provided
CN106506633A (en) * 2016-11-03 2017-03-15 中国联合网络通信集团有限公司 A kind of service shunting method, equipment and system

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6687746B1 (en) * 1999-08-30 2004-02-03 Ideaflood, Inc. System apparatus and method for hosting and assigning domain names on a wide area network

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105872626A (en) * 2015-12-15 2016-08-17 乐视网信息技术(北京)股份有限公司 Video playing method and device
CN106162233A (en) * 2016-07-08 2016-11-23 合网络技术(北京)有限公司 Code check recommends method and device
CN106161636A (en) * 2016-07-21 2016-11-23 网宿科技股份有限公司 The methods, devices and systems of value-added service are provided
CN106161158A (en) * 2016-07-21 2016-11-23 网宿科技股份有限公司 The methods, devices and systems of value-added service are provided
CN106506633A (en) * 2016-11-03 2017-03-15 中国联合网络通信集团有限公司 A kind of service shunting method, equipment and system

Also Published As

Publication number Publication date
CN107948682A (en) 2018-04-20

Similar Documents

Publication Publication Date Title
US10057251B2 (en) Provisioning account credentials via a trusted channel
CN109068179B (en) Multi-platform live broadcast method, computer device and computer readable storage medium
US9166965B2 (en) Method and system for automated user authentication for a priority communication session
US9544288B2 (en) Messaging gateway
US10165443B2 (en) Transmitting management commands to a client device
CN107948682B (en) Configuration method of service domain name, service server and terminal equipment
CN111726456B (en) Data processing method and related device
US20220014576A1 (en) Method for determining media server, and server
CN107026832A (en) Account logon method, equipment and server
CN106254528B (en) Resource downloading method and caching device
CN112995357B (en) Domain name management method, device, medium and electronic equipment based on cloud hosting service
CN112468409A (en) Access control method, device, computer equipment and storage medium
CN112202744A (en) Multi-system data communication method and device
CN103067398A (en) Method and equipment for achieving third-party application accessing user data
CN111147496B (en) Data processing method and device
CN112217910B (en) Video service access method, device, network equipment and storage medium
CN112953719A (en) Token authentication method and device
CN109698974A (en) A kind of method, apparatus, electronic equipment and the medium of display progress
CN111787642B (en) Third-party application based authentication networking method and device
CN112291573B (en) Live stream pushing method and device, electronic equipment and computer readable medium
CN101662657A (en) User login method of internet protocol television IPTV and system thereof
CN113407314A (en) Service flow processing method, device, medium and electronic equipment
CN115018509A (en) Object processing method and device, electronic equipment and storage medium
CN111614979B (en) Management method and device for video networking resources
CN118673240A (en) Page risk content identification method, device, equipment and storage medium

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