CN106789857B - Information interaction method, equipment and cache system - Google Patents

Information interaction method, equipment and cache system Download PDF

Info

Publication number
CN106789857B
CN106789857B CN201510834035.XA CN201510834035A CN106789857B CN 106789857 B CN106789857 B CN 106789857B CN 201510834035 A CN201510834035 A CN 201510834035A CN 106789857 B CN106789857 B CN 106789857B
Authority
CN
China
Prior art keywords
information
interaction
service provider
caching
cache
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
CN201510834035.XA
Other languages
Chinese (zh)
Other versions
CN106789857A (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.)
China Mobile Communications Group Co Ltd
Original Assignee
China Mobile Communications Group 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 China Mobile Communications Group Co Ltd filed Critical China Mobile Communications Group Co Ltd
Priority to CN201510834035.XA priority Critical patent/CN106789857B/en
Publication of CN106789857A publication Critical patent/CN106789857A/en
Application granted granted Critical
Publication of CN106789857B publication Critical patent/CN106789857B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • H04L67/568Storing data temporarily at an intermediate stage, e.g. caching

Abstract

The invention discloses an information interaction method, which comprises the following steps: when a dynamic information interaction request initiated by a service provider is received, acquiring authentication information sent by the service provider; verifying whether the authentication information passes; and if the authentication information passes the verification, acquiring the interactive information in the dynamic information interactive request, and caching according to the interactive information. The invention also discloses an information interaction device and a cache system. By adopting the technical scheme of the invention, the system can be ensured not to be subjected to false hijack/false cache, thereby ensuring the service quality.

Description

Information interaction method, equipment and cache system
Technical Field
The present invention relates to the field of data services and service support technologies, and in particular, to an information interaction method, device and cache system.
Background
With the rapid development of network services, great challenges are brought to the internet and the mobile internet. On one hand, network traffic shows explosive growth, and on the other hand, the requirements of users on service experience are higher and higher. Considering that services requested by different users have a certain intersection in a certain area, many pieces of information do not need to be acquired by each user from a final server, and one piece of information can be reserved in a local network in a certain mode, so that other users can directly acquire the same information from the local network when applying for the same information. Common technologies adopting such a method include a Content Delivery Network (CDN), a Web Cache (Web Cache), and the like. The Web Cache firstly judges whether the information is dynamic content or static content according to the information applied by the user: if the dynamic content is judged, caching is not needed, and the corresponding feedback applied by each user every time is possibly different; if the content is judged to be static content, other elements are comprehensively considered to decide whether to cache or not, and the specific caching mode and configuration are comprehensively considered.
In actual use, when the Web Cache system determines whether information corresponding to a user request is dynamic content or static content, a misjudgment may occur, and especially when the dynamic content is misjudged as the static content, information fed back to the user by the Web Cache system may be wrong, that is, the Web Cache system mis-hijacks a service. For example, in a mobile existing network, a phenomenon that a smart service is cached/hijacked by a Web Cache system by mistake occurs in a large number of regions. Currently, the mobile current network processes misjudgment/mishijack events in the following ways: the domain name related to the misjudgment/mishijacking event is listed into a blacklist in the Web Cache system through a special worker, the Web Cache system is informed of not caching information corresponding to the related domain name, and meanwhile, when a user interacts with the related domain name, the Web Cache system does not feed back information to the user.
However, the above-mentioned processing method requires a special worker to manually configure the processing device, which results in high labor cost and poor real-time performance; in addition, when the configuration change, upgrade or replacement is performed on the Web Cache system, errors are easy to occur, that is, problems are easy to repeat, and the processing efficiency is low.
Disclosure of Invention
In view of this, the present invention is expected to provide an information interaction method, device and cache system, which can ensure that the WebCache system does not generate false hijacking/false caching, thereby ensuring the quality of service.
In order to achieve the purpose, the technical scheme of the invention is realized as follows:
the invention also provides an information interaction method, which comprises the following steps:
when a dynamic information interaction request initiated by a service provider is received, acquiring authentication information sent by the service provider;
verifying whether the authentication information passes;
and if the authentication information passes the verification, acquiring the interactive information in the dynamic information interactive request, and caching according to the interactive information.
In the foregoing solution, preferably, before the acquiring the authentication information sent by the service provider, the method further includes:
judging whether the service provider meets a preset condition or not;
and if the preset condition is met, sending authentication information for the service provider.
In the foregoing scheme, preferably, the caching according to the interaction information specifically includes:
sending the interaction information to a first network cache subsystem for caching;
and acquiring caching success information sent by the first network caching subsystem.
In the foregoing solution, preferably, the method further includes:
if the cache success information sent by the first network cache subsystem is not received within the preset time, the interaction information is sent to the first network cache subsystem again until the retransmission times reach a preset threshold value;
and if the caching success information is not received when the retransmission times reach a preset threshold value, sending out alarm information.
In the foregoing scheme, preferably, the authentication information at least includes one of the following:
account + password form, key form, content service provider identification number (ID, IDentity) + account + password form, digital certificate form.
In the foregoing solution, preferably, the determining whether the service provider meets a preset condition includes:
obtaining a first element related to the service provider, wherein the first element at least comprises one or more of the following components: service characteristics, user scale, traffic local network rate and network traffic;
and judging whether the service provider meets preset conditions or not based on the first element, wherein the preset conditions comprise that the ordering mode of the first element is charging according to the updating frequency, charging according to the functional service term or free.
In the foregoing solution, preferably, the interaction information includes:
a specified domain name and a specified Uniform Resource Locator (URL);
or each domain name, the indication information of whether caching is needed corresponding to each domain name, and each URL, and the indication information of whether caching is needed corresponding to each URL.
In the foregoing solution, preferably, the method further includes:
and under the condition that the domain name and the URL of the service provider are not changed and the preset condition is met, actively initiating information interaction with the first network cache subsystem so that the first network cache subsystem can cache in time.
The invention also provides an information interaction method, which comprises the following steps:
initiating a dynamic information interaction request to a first interaction module of a cache system, and receiving authentication information sent by the first interaction module;
when a dynamic information interaction request is sent to a second interaction module of the cache system, the authentication information and the interaction information are carried in the dynamic information interaction request;
and judging whether the interaction information changes or not, and determining whether to interact with a second interaction module of the cache system or not according to the change condition.
In the foregoing solution, preferably, the interaction information includes:
specifying a domain name and a specified URL;
or each domain name, the indication information of whether caching is needed corresponding to each domain name, and each URL, and the indication information of whether caching is needed corresponding to each URL.
In the foregoing solution, preferably, the determining whether to interact with the second interaction module of the cache system according to the change condition specifically includes:
when the new service domain name is added and changed, or the URL is added and changed, or the dynamic and static conversion of the interactive information occurs,
and determining to interact with a second interaction module of the cache system.
The present invention also provides a cache system, comprising:
the second interactive module is used for acquiring authentication information sent by a service provider when receiving a dynamic information interactive request initiated by the service provider; verifying whether the authentication information passes; and if the authentication information passes the verification, acquiring the interactive information in the dynamic information interactive request, and caching according to the interactive information.
In the foregoing solution, preferably, the cache system further includes:
a first interaction module to:
judging whether the service provider meets a preset condition or not;
and if the preset condition is met, sending authentication information for the service provider.
In the foregoing solution, preferably, the second interaction module is further configured to:
sending the interaction information to a first network cache subsystem for caching;
and acquiring caching success information sent by the first network caching subsystem.
In the foregoing solution, preferably, the second interaction module is further configured to:
if the cache success information sent by the first network cache subsystem is not received within the preset time, the interaction information is sent to the first network cache subsystem again until the retransmission times reach a preset threshold value;
and if the caching success information is not received when the retransmission times reach a preset threshold value, sending out alarm information.
In the foregoing scheme, preferably, the authentication information at least includes one of the following:
account + password form, key form, content service provider identification number ID + account + password form, digital certificate form.
In the foregoing solution, preferably, the first interaction module is further configured to:
obtaining a first element related to the service provider, wherein the first element at least comprises one or more of the following components: service characteristics, user scale, traffic local network rate and network traffic;
and judging whether the service provider meets preset conditions or not based on the first element, wherein the preset conditions comprise that the ordering mode of the first element is charging according to the updating frequency, charging according to the functional service term or free.
In the foregoing solution, preferably, the interaction information includes:
specifying a domain name and a specified URL;
or each domain name, the indication information of whether caching is needed corresponding to each domain name, and each URL, and the indication information of whether caching is needed corresponding to each URL.
In the foregoing solution, preferably, the second interaction module is further configured to:
and under the condition that the domain name and the URL of the service provider are not changed and the preset condition is met, actively initiating information interaction with the first network cache subsystem so that the first network cache subsystem can cache in time.
The invention also provides an information interaction device, which comprises:
the first interaction unit is used for initiating a dynamic information interaction request to a first interaction module of the cache system and receiving authentication information sent by the first interaction module;
the second interaction unit is used for sending a dynamic information interaction request to a second interaction module of the cache system, wherein the dynamic information interaction request carries the authentication information and the interaction information;
and the third interaction unit is used for judging whether the interaction information changes and determining whether to interact with a second interaction module of the cache system according to the change condition.
In the foregoing solution, preferably, the interaction information includes:
specifying a domain name and a specified URL;
or each domain name, the indication information of whether caching is needed corresponding to each domain name, and each URL, and the indication information of whether caching is needed corresponding to each URL.
In the foregoing solution, preferably, the third interaction unit is further configured to:
when the new service domain name is added and changed, or the URL is added and changed, or the dynamic and static conversion of the interactive information occurs,
and determining to interact with a second interaction module of the cache system.
The information interaction method, the equipment and the Cache system provided by the invention can ensure that the Web Cache system cannot be subjected to false hijack/false Cache, thereby ensuring the service quality; manual processing is avoided to the maximum extent, manual configuration errors are reduced, and service experience is improved; the system processing time is reduced, and the service related change can be almost responded in real time/quasi real time.
Drawings
Fig. 1 is a flowchart illustrating an implementation of an information interaction method according to an embodiment of the present invention;
fig. 2 is a flowchart illustrating another implementation of an information interaction method according to an embodiment of the present invention;
fig. 3 is a flowchart illustrating an implementation of another information interaction method according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of an information interaction device according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of another information interaction device according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of a cache system according to an embodiment of the present invention;
fig. 7 is a schematic structural diagram of another information interaction device according to an embodiment of the present invention;
fig. 8 is a schematic structural diagram of an information interaction system according to an embodiment of the present invention.
Detailed Description
So that the manner in which the features and aspects of the present invention can be understood in detail, a more particular description of the invention, briefly summarized above, may be had by reference to embodiments, some of which are illustrated in the appended drawings.
Fig. 1 is a flowchart illustrating an implementation of an information interaction method according to an embodiment of the present invention, as shown in fig. 1, where the information interaction method is applied to a network side; as shown in fig. 1, the method mainly comprises the following steps:
step 101: and when a dynamic information interaction request initiated by a service provider is received, acquiring authentication information sent by the service provider.
Wherein the authentication information at least comprises one of the following:
account + password form, key form, content facilitator ID + account + password form, digital certificate form.
Preferably, before acquiring the authentication information sent by the service provider, the method further includes:
judging whether the service provider meets a preset condition or not;
and if the preset condition is met, sending authentication information for the service provider.
Specifically, the determining whether the service provider meets a preset condition includes:
obtaining a first element related to the service provider, wherein the first element at least comprises one or more of the following components: service characteristics, user scale, traffic local network rate and network traffic;
and judging whether the service provider meets preset conditions or not based on the first element, wherein the preset conditions comprise that the ordering mode of the first element is charging according to the updating frequency, charging according to the functional service term or free.
Step 102: and verifying whether the authentication information passes or not.
Specifically, when verifying whether the authentication information passes, that is, verifying whether the service provider subscribes to the first service function, there are at least two optional verification methods, that is, the verification may be performed locally or assisted by other devices.
Step 103: and if the authentication information passes the verification, acquiring the interactive information in the dynamic information interactive request, and caching according to the interactive information.
Wherein the interaction information comprises:
specifying a domain name and a specified URL;
or each domain name, the indication information of whether caching is needed corresponding to each domain name, and each URL, and the indication information of whether caching is needed corresponding to each URL.
Preferably, the caching according to the interaction information specifically includes:
sending the interaction information to a first network cache subsystem for caching;
and acquiring caching success information sent by the first network caching subsystem.
In this embodiment, the first network Cache subsystem is a Web Cache system in the Cache system; the Cache system may include a plurality of relatively independent Web Cache systems, for example, a WebCache system deployed or rented by each provincial company.
The executing main bodies of the steps 101 to 103 may be second devices, where the second devices are devices at least responsible for controlling dynamic information interaction.
Preferably, the method may further comprise:
if the cache success information sent by the first network cache subsystem is not received within the preset time, the interaction information is sent to the first network cache subsystem again until the retransmission times reach a preset threshold value;
and if the caching success information is not received when the retransmission times reach a preset threshold value, sending out alarm information.
Here, the alarm information is used for prompting the staff to perform manual checking and processing.
Therefore, each network cache subsystem can be better ensured to be configured with a first service function by the service provider; therefore, the service provider can provide better and faster service for the user, and the use experience of the user is improved. Meanwhile, manual processing is avoided to the maximum extent, manual configuration errors are reduced, and service experience is improved; the system processing time is reduced, and the service related change can be almost responded in real time/quasi real time.
Preferably, the method may further comprise:
and under the condition that the domain name and the URL of the service provider are not changed and the preset condition is met, actively initiating information interaction with the first network cache subsystem so that the first network cache subsystem can cache in time.
For example, the preset condition may be a periodic trigger or an event trigger. That is, when the preset condition is met, the configuration information related to the service provider in each network cache subsystem is verified and corrected according to the locally stored configuration information related to the service provider.
In this way, it can be better ensured that the configuration information related to the service provider, which is relied on when the first service function is configured for the service provider in each network cache subsystem, is consistent with the configuration information locally stored in the second device, thereby providing better and more accurate service for the service provider.
The information interaction method can ensure that the network cache subsystem cannot generate false hijack/false cache, thereby ensuring the service quality; meanwhile, manual processing is avoided to the maximum extent, manual configuration errors are reduced, and service experience is improved; the system processing time is reduced, and the service related change can be almost responded in real time/quasi real time.
Example two
Fig. 2 is a flowchart of another implementation of an information interaction method according to an embodiment of the present invention, and as shown in fig. 2, the information interaction method is applied to a network side at least responsible for subscribing to a first service function; as shown in fig. 2, the method mainly comprises the following steps:
step 201: and when a dynamic information interaction request initiated by a service provider is received, judging whether the service provider meets a preset condition.
Preferably, the determining whether the service provider meets a preset condition may include:
obtaining a first element related to the service provider, wherein the first element at least comprises one or more of the following components: service characteristics, user scale, traffic local network rate and network traffic;
and judging whether the service provider meets preset conditions or not based on the first element, wherein the preset conditions comprise that the ordering mode of the first element is charging according to the updating frequency, charging according to the functional service term or free.
Step 202: and if the preset condition is met, sending authentication information for the service provider.
Wherein the authentication information at least comprises one of the following:
account + password form, key form, content facilitator ID + account + password form, digital certificate form.
In the foregoing solution, preferably, the method further includes:
receiving a first service function ordering application sent by a service provider; wherein, the content of the first service function order application at least comprises: the network cache subsystem has a dynamic information interaction function;
verifying the first service function order application;
and if the verification meets the application standard, ordering a first service function for the service provider, and feeding back ordering information and corresponding authentication information to the service provider after the ordering is successful.
Here, the first element may be obtained from an existing module in the communication system, for example, network traffic is obtained from a network traffic monitoring module.
Wherein the order price and/or order form at least comprises:
charging according to the updating frequency;
charging according to the service deadline of the function;
free of charge.
In this way, an additional source of revenue (if charged) can be obtained for the operator.
The executing subject of step 201 and step 202 may be a first device, where the first device is a device at least responsible for subscribing to the first service function.
Preferably, when feeding back the subscription information and the corresponding authentication information to the service provider, the method may further include:
and sending the order information and the corresponding authentication information to the second equipment.
In this way, the second device may locally store the subscription information and the corresponding authentication information, and provide the service provider with the corresponding service according to the subscription information and the corresponding authentication information when receiving the information interaction request sent by the service provider.
The information interaction method can ensure that the network cache subsystem cannot generate false hijack/false cache, thereby ensuring the service quality; meanwhile, manual processing is avoided to the maximum extent, manual configuration errors are reduced, and service experience is improved; the system processing time is reduced, and the service related change can be almost responded in real time/quasi real time.
EXAMPLE III
Fig. 3 is a flowchart illustrating an implementation of another information interaction method according to an embodiment of the present invention, and as shown in fig. 3, the information interaction method is applied to a service provider at least responsible for dynamic information interaction; as shown in fig. 3, the method mainly comprises the following steps:
step 301: and initiating a dynamic information interaction request to a first interaction module of the cache system, and receiving authentication information sent by the first interaction module.
Preferably, the authentication information includes at least one of the following:
account + password form, key form, content facilitator ID + account + password form, digital certificate form.
Step 302: and when a dynamic information interaction request is sent to a second interaction module of the cache system, the authentication information and the interaction information are carried in the dynamic information interaction request.
Preferably, the interaction information includes:
specifying a domain name and a specified URL;
or each domain name, the indication information of whether caching is needed corresponding to each domain name, and each URL, and the indication information of whether caching is needed corresponding to each URL.
Step 303: and judging whether the interaction information changes or not, and determining whether to interact with a second interaction module of the cache system or not according to the change condition.
In the foregoing solution, preferably, the determining whether to interact with the second interaction module of the cache system according to the change condition specifically includes:
when the new service domain name is added and changed, or the URL is added and changed, or the dynamic and static conversion of the interactive information occurs,
and determining to interact with a second interaction module of the cache system.
In this way, it is ensured that the configuration information stored by the cache system and associated with the service provider is consistent with the configuration information required by the service provider.
Executing main bodies of the steps 301 to 303 may be third devices, where the third devices are devices at least responsible for dynamic information interaction; wherein the third device is maintained by a service provider.
The information interaction method can ensure that the network cache subsystem cannot generate false hijack/false cache, thereby ensuring the service quality; meanwhile, manual processing is avoided to the maximum extent, manual configuration errors are reduced, and service experience is improved; the system processing time is reduced, and the service related change can be almost responded in real time/quasi real time.
Example four
Fig. 4 is a schematic structural diagram of an information interaction device according to an embodiment of the present invention, and for convenience of distinction and description, the information interaction device is now referred to as a second device, and as shown in fig. 4, the second device includes:
an obtaining unit 41, configured to obtain authentication information sent by a service provider when receiving a dynamic information interaction request initiated by the service provider;
a verification unit 42, configured to verify whether the authentication information passes;
and the caching unit 43 is configured to, if the authentication information passes verification, obtain the interaction information in the dynamic information interaction request, and cache according to the interaction information.
Wherein the authentication information at least comprises one of the following:
account + password form, key form, content facilitator ID + account + password form, digital certificate form.
Wherein the interaction information comprises:
specifying a domain name and a specified URL;
or each domain name, the indication information of whether caching is needed corresponding to each domain name, and each URL, and the indication information of whether caching is needed corresponding to each URL.
Preferably, the cache unit 43 is further configured to:
sending the interaction information to a first network cache subsystem for caching;
and acquiring caching success information sent by the first network caching subsystem.
Preferably, the cache unit 43 is further configured to:
if the cache success information sent by the first network cache subsystem is not received within the preset time, the interaction information is sent to the first network cache subsystem again until the retransmission times reach a preset threshold value;
and if the caching success information is not received when the retransmission times reach a preset threshold value, sending out alarm information.
The alarm information is used for prompting the staff to carry out manual checking and processing.
Preferably, the cache unit 43 is further configured to:
and under the condition that the domain name and the URL of the service provider are not changed and the preset condition is met, actively initiating information interaction with the first network cache subsystem so that the first network cache subsystem can cache in time.
For example, the preset condition may be a periodic trigger, an event trigger, or the like.
In practical applications, the specific structures of the obtaining unit 41, the verifying unit 42, and the buffering unit 43 may all correspond to a processor. The specific structure of the processor can be an electronic component or a collection of electronic components with processing functions, such as a CPU, an MCU, a DSP or a PLC. The processor includes executable codes, the executable codes are stored in a storage medium, the processor can be connected to the storage medium through a communication interface such as a bus, and when the corresponding functions of the specific modules are executed, the executable codes are read from the storage medium and executed. The portion of the storage medium used to store the executable code is preferably a non-transitory storage medium.
The obtaining unit 41, the verifying unit 42 and the caching unit 43 may be integrated to correspond to the same processor, or correspond to different processors respectively; when the integration corresponds to the same processor, the processor processes the functions corresponding to the obtaining unit 41, the verifying unit 42 and the caching unit 43 in a time division manner.
The information interaction device of this embodiment provides hardware for implementing the method described in the first to third embodiments, and can be used to implement any of the technical solutions described in the first to third embodiments, and similarly, the information interaction device of this embodiment can ensure that a network cache subsystem is not subjected to false hijack/false cache, thereby ensuring the quality of service; meanwhile, manual processing is avoided to the maximum extent, manual configuration errors are reduced, and service experience is improved; the system processing time is reduced, and the service related change can be almost responded in real time/quasi real time.
EXAMPLE five
Fig. 5 is a schematic diagram of a composition structure of another information interaction device according to an embodiment of the present invention, and for convenience of distinction and description, the information interaction device is now referred to as a first device, and as shown in fig. 5, the first device includes:
a judging unit 51, configured to judge whether a service provider meets a preset condition;
a sending unit 52, configured to send authentication information for the service provider if a preset condition is met.
Preferably, the judging unit 51 is further configured to:
obtaining a first element related to the service provider, wherein the first element at least comprises one or more of the following components: service characteristics, user scale, traffic local network rate and network traffic;
and judging whether the service provider meets preset conditions or not based on the first element, wherein the preset conditions comprise that the ordering mode of the first element is charging according to the updating frequency, charging according to the functional service term or free.
Preferably, the judging unit 51 is further configured to:
receiving a first service function ordering application sent by a service provider; wherein, the content of the first service function order application at least comprises: the network cache subsystem has a dynamic information interaction function;
verifying the first service function order application;
if the verification meets the application standard, ordering a first service function for the service provider;
correspondingly, the sending unit 52 is further configured to feed back subscription information and corresponding authentication information to the service provider after the subscription is successful.
Preferably, the sending unit 52 is further configured to:
and when the order information and the corresponding authentication information are fed back to the service provider, the order information and the corresponding authentication information are also sent to the second equipment.
In practical applications, the specific structures of the determining unit 51 and the sending unit 52 may correspond to a processor. The specific structure of the processor can be an electronic component or a collection of electronic components with processing functions, such as a CPU, an MCU, a DSP or a PLC. The processor includes executable codes, the executable codes are stored in a storage medium, the processor can be connected to the storage medium through a communication interface such as a bus, and when the corresponding functions of the specific modules are executed, the executable codes are read from the storage medium and executed. The portion of the storage medium used to store the executable code is preferably a non-transitory storage medium.
The judging unit 51 and the sending unit 52 may be integrated to correspond to the same processor, or correspond to different processors respectively; when the processors are integrated and correspond to the same processor, the processor processes the functions corresponding to the judging unit 51 and the sending unit 52 in a time division mode.
The information interaction device of this embodiment provides hardware for implementing the method described in the first to third embodiments, and can be used to implement any of the technical solutions described in the first to third embodiments, and similarly, the information interaction device of this embodiment can ensure that a network cache subsystem is not subjected to false hijack/false cache, thereby ensuring the quality of service; meanwhile, manual processing is avoided to the maximum extent, manual configuration errors are reduced, and service experience is improved; the system processing time is reduced, and the service related change can be almost responded in real time/quasi real time.
EXAMPLE six
Fig. 6 is a schematic structural diagram of a cache system according to an embodiment of the present invention, and as shown in fig. 6, the cache system includes:
the first interaction module 61 is configured to determine whether a service provider meets a preset condition; if the preset condition is met, sending authentication information for the service provider;
the second interaction module 62 is configured to, when receiving a dynamic information interaction request initiated by a service provider, obtain authentication information sent by the service provider; verifying whether the authentication information passes; and if the authentication information passes the verification, acquiring the interactive information in the dynamic information interactive request, and caching according to the interactive information.
Preferably, the second interaction module 62 is further configured to:
sending the interaction information to a first network cache subsystem for caching;
and acquiring caching success information sent by the first network caching subsystem.
Preferably, the second interaction module 62 is further configured to:
if the cache success information sent by the first network cache subsystem is not received within the preset time, the interaction information is sent to the first network cache subsystem again until the retransmission times reach a preset threshold value;
and if the caching success information is not received when the retransmission times reach a preset threshold value, sending out alarm information.
Wherein the authentication information at least comprises one of the following:
account + password form, key form, content facilitator ID + account + password form, digital certificate form.
Preferably, the first interaction module 61 is further configured to:
obtaining a first element related to the service provider, wherein the first element at least comprises one or more of the following components: service characteristics, user scale, traffic local network rate and network traffic;
and judging whether the service provider meets preset conditions or not based on the first element, wherein the preset conditions comprise that the ordering mode of the first element is charging according to the updating frequency, charging according to the functional service term or free.
In the foregoing solution, the interactive information includes:
specifying a domain name and a specified URL;
or each domain name, the indication information of whether caching is needed corresponding to each domain name, and each URL, and the indication information of whether caching is needed corresponding to each URL.
Preferably, the second interaction module 62 is further configured to:
and under the condition that the domain name and the URL of the service provider are not changed and the preset condition is met, actively initiating information interaction with the first network cache subsystem so that the first network cache subsystem can cache in time.
Specifically, the specific composition diagram of the first interaction module 61 may be as shown in fig. 5, that is, the specific composition structure of the first interaction module 61 may include the determining unit 51 and the sending unit 52, which is not described herein again; similarly, the specific composition diagram of the second interaction module 62 may be the information interaction device shown in fig. 4, that is, the specific composition structure of the second interaction module 62 may include the obtaining unit 41, the verifying unit 42, and the caching unit 43, which is not described herein again.
The cache system of the embodiment can ensure that the system cannot be subjected to false hijack/false cache, thereby ensuring the service quality; meanwhile, manual processing is avoided to the maximum extent, manual configuration errors are reduced, and service experience is improved; the system processing time is reduced, and the service related change can be almost responded in real time/quasi real time.
EXAMPLE seven
Fig. 7 is a schematic structural diagram of another information interaction device provided in an embodiment of the present invention, and for convenience of distinction and description, the information interaction device is now referred to as a third device, as shown in fig. 7, where the third device includes:
the first interaction unit 71 is configured to initiate a dynamic information interaction request to the first interaction module 61 of the cache system, and receive authentication information sent by the first interaction module 61;
the second interaction unit 72 is configured to send a dynamic information interaction request to the second interaction module 62 of the cache system, where the dynamic information interaction request carries the authentication information and the interaction information;
and the third interaction unit 73 is configured to determine whether the interaction information changes, and determine whether to interact with the second interaction module 62 of the cache system according to the change condition.
In the foregoing solution, the interactive information includes:
specifying a domain name and a specified URL;
or each domain name, the indication information of whether caching is needed corresponding to each domain name, and each URL, and the indication information of whether caching is needed corresponding to each URL.
Preferably, the third interacting unit 73 is further configured to:
when the new service domain name is added and changed, or the URL is added and changed, or the dynamic and static conversion of the interactive information occurs,
interaction with the second interaction module 62 of the cache system is determined.
In practical applications, the specific structure of the first interaction unit 71, the second interaction unit 72, and the third interaction unit 73 may correspond to a processor. The specific structure of the processor can be an electronic component or a collection of electronic components with processing functions, such as a CPU, an MCU, a DSP or a PLC. The processor includes executable codes, the executable codes are stored in a storage medium, the processor can be connected to the storage medium through a communication interface such as a bus, and when the corresponding functions of the specific modules are executed, the executable codes are read from the storage medium and executed. The portion of the storage medium used to store the executable code is preferably a non-transitory storage medium.
The first interaction unit 71, the second interaction unit 72 and the third interaction unit 73 may be integrated to correspond to the same processor, or correspond to different processors respectively; when the integration corresponds to the same processor, the processor processes the functions corresponding to the first interaction unit 71, the second interaction unit 72 and the third interaction unit 73 by time division.
The information interaction device of this embodiment provides hardware for implementing the method described in the first to third embodiments, and can be used to implement any of the technical solutions described in the first to third embodiments, and similarly, the information interaction device of this embodiment can ensure that a network cache subsystem is not subjected to false hijack/false cache, thereby ensuring the quality of service; meanwhile, manual processing is avoided to the maximum extent, manual configuration errors are reduced, and service experience is improved; the system processing time is reduced, and the service related change can be almost responded in real time/quasi real time.
Example eight
Fig. 8 is a schematic structural diagram of an information interaction system according to an embodiment of the present invention, and as shown in fig. 8, the information interaction system includes:
the information interaction device 81 is configured to initiate a dynamic information interaction request to a first interaction module of the cache system 82, and receive authentication information sent by the first interaction module; when a dynamic information interaction request is sent to a second interaction module of the cache system 82, the authentication information and the interaction information are carried in the dynamic information interaction request; judging whether the interaction information changes or not, and determining whether to interact with a second interaction module of the cache system 82 according to the change condition;
the cache system 82 is configured to obtain authentication information sent by a service provider when receiving a dynamic information interaction request initiated by the service provider; verifying whether the authentication information passes; and if the authentication information passes the verification, acquiring the interactive information in the dynamic information interactive request, and caching according to the interactive information.
A schematic diagram of a specific structure of the information interaction device 81 may be as shown in fig. 7, and a schematic diagram of a specific structure of the cache system 82 may be as shown in fig. 6, which is not described herein again.
In practical applications, the information interaction device 81 may be maintained by a service provider, and the cache system 82 may be located on the network side of an existing communication system, for example, in an existing network of a mobile communication system; the first interactive module and the first interactive module in the cache system 82 may be independent devices, or may be combined into one device, and exist as two independent modules in the combined device.
In the embodiments provided by the present invention, it should be understood that the disclosed method, apparatus and system can be implemented in other ways. The above-described device embodiments are merely illustrative, for example, the division of the unit is only a logical functional division, and there may be other division ways in actual implementation, such as: multiple units or components may be combined, or may be integrated into another system, or some features may be omitted, or not implemented. In addition, the coupling, direct coupling or communication connection between the components shown or discussed may be through some interfaces, and the indirect coupling or communication connection between the devices or units may be electrical, mechanical or other forms.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed on a plurality of network units; some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, all the functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may be separately regarded as one unit, or two or more units may be integrated into one unit; the integrated unit can be realized in a form of hardware, or in a form of hardware plus a software functional unit.
Those of ordinary skill in the art will understand that: all or part of the steps for implementing the method embodiments may be implemented by hardware related to program instructions, and the program may be stored in a computer readable storage medium, and when executed, the program performs the steps including the method embodiments; and the aforementioned storage medium includes: various media that can store program codes, such as a removable Memory device, a Read-Only Memory (ROM), a magnetic disk, or an optical disk.
Alternatively, the integrated unit according to the embodiment of the present invention may be stored in a computer-readable storage medium if it is implemented in the form of a software functional module and sold or used as a separate product. Based on such understanding, the technical solutions of the embodiments of the present invention may be essentially implemented or a part contributing to the prior art may be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the methods described in the embodiments of the present invention. And the aforementioned storage medium includes: a removable storage device, a ROM, a magnetic or optical disk, or other various media that can store program code.
The above description is only a preferred embodiment of the present invention, and is not intended to limit the scope of the present invention. Any modification, equivalent replacement, and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims (18)

1. An information interaction method is applied to a cache system, and is characterized in that the method comprises the following steps:
when a dynamic information interaction request initiated by a service provider is received, acquiring authentication information sent by the service provider;
verifying whether the authentication information passes;
if the authentication information passes verification, acquiring the interactive information in the dynamic information interactive request, and caching according to the interactive information;
before acquiring the authentication information sent by the service provider, the method further includes:
judging whether the service provider meets a preset condition or not;
if the preset condition is met, sending authentication information for the service provider;
wherein, the judging whether the service provider meets the preset condition includes:
obtaining a first element related to the service provider, wherein the first element at least comprises one or more of the following components: service characteristics, user scale, traffic local network rate and network traffic;
and judging whether the service provider meets preset conditions or not based on the first element, wherein the preset conditions comprise that the ordering mode of the first element is charging according to the updating frequency, charging according to the functional service term or free.
2. The method according to claim 1, wherein the caching according to the interaction information specifically includes:
sending the interaction information to a first network cache subsystem for caching;
and acquiring caching success information sent by the first network caching subsystem.
3. The method of claim 2, further comprising:
if the cache success information sent by the first network cache subsystem is not received within the preset time, the interaction information is sent to the first network cache subsystem again until the retransmission times reach a preset threshold value;
and if the caching success information is not received when the retransmission times reach a preset threshold value, sending out alarm information.
4. The method of claim 1, wherein the authentication information comprises at least one of:
account + password form, key form, content service provider identification number ID + account + password form, digital certificate form.
5. The method of claim 1, wherein the interaction information comprises:
specifying a domain name and a specified URL;
or each domain name, the indication information of whether caching is needed corresponding to each domain name, and each URL, and the indication information of whether caching is needed corresponding to each URL.
6. The method of claim 5, further comprising:
and under the condition that the domain name and the URL of the service provider are not changed and the preset condition is met, actively initiating information interaction with the first network cache subsystem so that the first network cache subsystem can cache in time.
7. An information interaction method applied to a service provider is characterized in that the method comprises the following steps:
initiating a dynamic information interaction request to a first interaction module of a cache system, and receiving authentication information sent by the first interaction module;
when a dynamic information interaction request is sent to a second interaction module of the cache system, the authentication information and the interaction information are carried in the dynamic information interaction request;
judging whether the interaction information changes or not, and determining whether to interact with a second interaction module of the cache system or not according to the change condition;
the receiving of the authentication information sent by the first interaction module includes:
receiving authentication information sent by the first interaction module after the first interaction module judges that the service provider meets a preset condition based on a first element related to the service provider;
wherein, the first element at least comprises one or more of the following components: service characteristics, user scale, traffic local network rate and network traffic;
the preset condition comprises that the ordering mode of the first element is charging according to the updating frequency, charging according to the functional service term or free.
8. The method of claim 7, wherein the interaction information comprises:
specifying a domain name and a specified URL;
or each domain name, the indication information of whether caching is needed corresponding to each domain name, and each URL, and the indication information of whether caching is needed corresponding to each URL.
9. The method according to claim 8, wherein the determining whether to interact with the second interaction module of the cache system according to the change condition specifically includes:
when the new service domain name is added and changed, or the URL is added and changed, or the dynamic and static conversion of the interactive information occurs,
and determining to interact with a second interaction module of the cache system.
10. A cache system, the cache system comprising:
the second interactive module is used for acquiring authentication information sent by a service provider when receiving a dynamic information interactive request initiated by the service provider; verifying whether the authentication information passes; if the authentication information passes verification, acquiring the interactive information in the dynamic information interactive request, and caching according to the interactive information;
the cache system further comprises:
a first interaction module to:
judging whether the service provider meets a preset condition or not;
if the preset condition is met, sending authentication information for the service provider;
the first interaction module is further configured to:
obtaining a first element related to the service provider, wherein the first element at least comprises one or more of the following components: service characteristics, user scale, traffic local network rate and network traffic;
and judging whether the service provider meets preset conditions or not based on the first element, wherein the preset conditions comprise that the ordering mode of the first element is charging according to the updating frequency, charging according to the functional service term or free.
11. The cache system of claim 10, wherein the second interaction module is further configured to:
sending the interaction information to a first network cache subsystem for caching;
and acquiring caching success information sent by the first network caching subsystem.
12. The cache system of claim 11, wherein the second interaction module is further configured to:
if the cache success information sent by the first network cache subsystem is not received within the preset time, the interaction information is sent to the first network cache subsystem again until the retransmission times reach a preset threshold value;
and if the caching success information is not received when the retransmission times reach a preset threshold value, sending out alarm information.
13. The caching system of claim 10, wherein the authentication information comprises at least one of:
account + password form, key form, content service provider identification number ID + account + password form, digital certificate form.
14. The caching system of claim 10, wherein the interaction information comprises:
specifying a domain name and a specified URL;
or each domain name, the indication information of whether caching is needed corresponding to each domain name, and each URL, and the indication information of whether caching is needed corresponding to each URL.
15. The cache system of claim 14, wherein the second interaction module is further configured to:
and under the condition that the domain name and the URL of the service provider are not changed and the preset condition is met, actively initiating information interaction with the first network cache subsystem so that the first network cache subsystem can cache in time.
16. An information interaction device applied to a service provider, the device comprising:
the first interaction unit is used for initiating a dynamic information interaction request to a first interaction module of the cache system and receiving authentication information sent by the first interaction module;
the second interaction unit is used for sending a dynamic information interaction request to a second interaction module of the cache system, wherein the dynamic information interaction request carries the authentication information and the interaction information;
the third interaction unit is used for judging whether the interaction information changes and determining whether to interact with a second interaction module of the cache system according to the change condition;
wherein the first interaction unit is further configured to:
receiving authentication information sent by the first interaction module after the first interaction module judges that the service provider meets a preset condition based on a first element related to the service provider;
wherein, the first element at least comprises one or more of the following components: service characteristics, user scale, traffic local network rate and network traffic;
the preset condition comprises that the ordering mode of the first element is charging according to the updating frequency, charging according to the functional service term or free.
17. The device of claim 16, wherein the interaction information comprises:
specifying a domain name and a specified URL;
or each domain name, the indication information of whether caching is needed corresponding to each domain name, and each URL, and the indication information of whether caching is needed corresponding to each URL.
18. The apparatus of claim 17, wherein the third interaction unit is further configured to:
when the new service domain name is added and changed, or the URL is added and changed, or the dynamic and static conversion of the interactive information occurs,
and determining to interact with a second interaction module of the cache system.
CN201510834035.XA 2015-11-25 2015-11-25 Information interaction method, equipment and cache system Active CN106789857B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510834035.XA CN106789857B (en) 2015-11-25 2015-11-25 Information interaction method, equipment and cache system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510834035.XA CN106789857B (en) 2015-11-25 2015-11-25 Information interaction method, equipment and cache system

Publications (2)

Publication Number Publication Date
CN106789857A CN106789857A (en) 2017-05-31
CN106789857B true CN106789857B (en) 2020-08-14

Family

ID=58965000

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510834035.XA Active CN106789857B (en) 2015-11-25 2015-11-25 Information interaction method, equipment and cache system

Country Status (1)

Country Link
CN (1) CN106789857B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1605182A (en) * 2001-12-19 2005-04-06 国际商业机器公司 Method and system for network caching
CN103416027A (en) * 2012-01-31 2013-11-27 华为技术有限公司 Cache optimization method, cache and cache optimization system
CN103825919A (en) * 2012-11-16 2014-05-28 中国移动通信集团北京有限公司 Method, device and system for data resource caching
CN103841045A (en) * 2012-11-22 2014-06-04 中国移动通信集团公司 Internet cache processing method, content detection subsystem and Cache system
CN104170342A (en) * 2012-06-20 2014-11-26 华为技术有限公司 Content processing method and network side device

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003186776A (en) * 2001-12-13 2003-07-04 Hitachi Ltd Congestion control system
US10275347B2 (en) * 2010-03-08 2019-04-30 Excalibur Ip, Llc System, method and computer program product for managing caches
US9288231B2 (en) * 2013-07-22 2016-03-15 Cisco Technology, Inc. Web caching with security as a service
CN104021028B (en) * 2014-05-16 2017-05-24 深圳市深信服电子科技有限公司 Web buffering method and device in virtual machine environment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1605182A (en) * 2001-12-19 2005-04-06 国际商业机器公司 Method and system for network caching
CN103416027A (en) * 2012-01-31 2013-11-27 华为技术有限公司 Cache optimization method, cache and cache optimization system
CN104170342A (en) * 2012-06-20 2014-11-26 华为技术有限公司 Content processing method and network side device
CN103825919A (en) * 2012-11-16 2014-05-28 中国移动通信集团北京有限公司 Method, device and system for data resource caching
CN103841045A (en) * 2012-11-22 2014-06-04 中国移动通信集团公司 Internet cache processing method, content detection subsystem and Cache system

Also Published As

Publication number Publication date
CN106789857A (en) 2017-05-31

Similar Documents

Publication Publication Date Title
CN105812479B (en) Request method and device and acquisition method and device for use permission
CN105306733A (en) Third-party login mobile phone number binding method based on mobile phone APP
CN102958022A (en) Short message verification method, device and system
CN104852926B (en) Account registration login method and device
CN113271296B (en) Login authority management method and device
CN107135672B (en) Application installation package obtaining method, information broadcasting method, mobile equipment and base station
CN108023881B (en) Application login method, device, medium and electronic equipment
CN106254528B (en) Resource downloading method and caching device
CN104954330A (en) Method of accessing data resources, device and system
WO2014008864A1 (en) Method, apparatus, and system for sharing software among terminals
CN108200132B (en) Resource acquisition method, device, equipment and computer readable storage medium
US20140019957A1 (en) Method, apparatus, and system for sharing software among terminals
CN107026738B (en) Digital certificate updating method, digital signature verification method and digital authentication device
CN110895603B (en) Multi-system account information integration method and device
CN109067746B (en) Communication method and device between client and server
CN109040263B (en) Service processing method and device based on distributed system
CN111274591A (en) Method, device, electronic equipment and medium for accessing Kubernetes cluster
CN105553671B (en) A kind of management method of digital certificate, apparatus and system
CN110601832A (en) Data access method and device
CN110691091A (en) Data acquisition method and device based on identity authentication and computer equipment
CN104133704A (en) Software upgrading and upgrade package issuing method, device and equipment
CN109977126B (en) Method and device for replacing identity, electronic equipment and storage medium
CN111241523A (en) Authentication processing method, device, equipment and storage medium
CN109522202B (en) Software testing method and device
CN106789857B (en) Information interaction method, equipment and cache system

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