CN112732757A - Degraded data processing method, system, device, equipment and storage medium - Google Patents

Degraded data processing method, system, device, equipment and storage medium Download PDF

Info

Publication number
CN112732757A
CN112732757A CN202011631716.3A CN202011631716A CN112732757A CN 112732757 A CN112732757 A CN 112732757A CN 202011631716 A CN202011631716 A CN 202011631716A CN 112732757 A CN112732757 A CN 112732757A
Authority
CN
China
Prior art keywords
data
page
degraded
degradation
target page
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202011631716.3A
Other languages
Chinese (zh)
Other versions
CN112732757B (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.)
Beijing QIYI Century Science and Technology Co Ltd
Original Assignee
Beijing QIYI Century Science and 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 Beijing QIYI Century Science and Technology Co Ltd filed Critical Beijing QIYI Century Science and Technology Co Ltd
Priority to CN202011631716.3A priority Critical patent/CN112732757B/en
Publication of CN112732757A publication Critical patent/CN112732757A/en
Application granted granted Critical
Publication of CN112732757B publication Critical patent/CN112732757B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • G06F16/245Query processing
    • G06F16/2455Query execution
    • G06F16/24553Query execution of query operations
    • G06F16/24561Intermediate data storage techniques for performance improvement
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/23Updating
    • G06F16/2308Concurrency control
    • G06F16/2315Optimistic concurrency control
    • G06F16/2322Optimistic concurrency control using timestamps
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/28Databases characterised by their database models, e.g. relational or object models
    • G06F16/284Relational databases
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Abstract

The embodiment of the invention provides a method, a system, a device, equipment and a storage medium for processing degraded data, wherein the method comprises the following steps: acquiring one or more pieces of task information, wherein each piece of task information comprises a data acquisition interval of a corresponding page; acquiring real-time data of a page corresponding to the task information according to the data acquisition interval, and storing the acquired real-time data as degradation data in a preset database; after receiving a data acquisition request aiming at a target page sent by a client, acquiring degraded data of the target page from a preset database, and returning the acquired degraded data to the client, wherein the target page is a degraded page determined according to a query result of a configuration file. Therefore, when the target page requested by the client is the degraded page, the pre-stored degraded data of the target page can be acquired, and the degraded data is returned to the client, so that the client can still acquire the data of the target page, the user experience is improved, and the user loss is reduced.

Description

Degraded data processing method, system, device, equipment and storage medium
Technical Field
The present invention relates to the field of internet technologies, and in particular, to a method, a system, an apparatus, a device, and a storage medium for processing degraded data.
Background
Under the condition that the pressures of a Central Processing Unit (CPU) and a memory are too high, a server is in an unavailable state due to overload, so that a client page has no data.
In the prior art, service degradation is generally realized by throttling, specifically, when the access amount of a server reaches a certain threshold, service is suspended for part of clients, data is not returned for access requests of the clients, and the service is resumed for the clients when the access amount is lower than the threshold.
However, in the service degradation method, part of the clients cannot acquire returned data all the time in the service degradation process, and especially for video playing and other scenes, video playing is blocked and other phenomena are caused, so that user experience is poor, and user loss is easily caused.
Disclosure of Invention
Embodiments of the present invention provide a method, a system, an apparatus, an electronic device, and a storage medium for processing degraded data, so as to reduce user loss caused by no returned data and provide better experience for a user when service degradation is required.
The specific technical scheme is as follows:
the embodiment of the invention provides a method for processing degraded data, which comprises the following steps:
acquiring one or more pieces of task information, wherein each piece of task information comprises a data acquisition interval of a corresponding page;
acquiring real-time data of a page corresponding to the task information according to the data acquisition interval, and storing the acquired real-time data as degradation data in a preset database;
after receiving a data acquisition request aiming at a target page sent by a client, acquiring degraded data of the target page from the preset database, and returning the acquired degraded data to the client, wherein the target page is a degraded page determined according to a query result of a configuration file.
Optionally, the task information further includes a plurality of subtask information, the acquiring, according to the data acquisition interval, real-time data of a page corresponding to the task information, and storing the acquired real-time data as degradation data in a preset database, includes:
synchronously acquiring real-time data corresponding to each subtask information in the task information according to the data acquisition interval;
and taking the acquired real-time data as degradation data, and storing the degradation data in a preset database.
Optionally, the acquiring, according to the data acquisition interval, real-time data of the page corresponding to the task information includes:
acquiring real-time data of a page corresponding to the task information according to the data acquisition interval;
and carrying out accuracy verification on the acquired real-time data, and if the verification result is normal, storing the acquired real-time data as degraded data to a preset database.
Optionally, the storing the acquired real-time data as degraded data to a preset database includes:
and taking the acquired real-time data as degradation data, and correspondingly storing the degradation data and the time stamp of the degradation data to a preset database.
Optionally, the data obtaining request includes a target version number, and the obtaining of the degraded data of the target page from the preset database includes:
and obtaining the degradation data corresponding to the target version number of the target page from a preset database.
Optionally, the obtaining the degradation data of the target page from a preset database includes:
searching the degraded data of the target page and the timestamp of each degraded data from the preset database;
and acquiring the degraded data with the latest timestamp from the degraded data of the target page.
Optionally, the receiving a data obtaining request for a target page sent by a client includes:
receiving a data acquisition request aiming at a page to be queried, which is sent by a client;
inquiring the service type of the page to be inquired according to the corresponding relation between the page and the service type which are stored in advance;
according to the storage path and the service type of the page to be inquired, inquiring the degradation configuration information of the page to be inquired in the configuration file, and judging whether the page to be inquired is a degradation page or not;
if so, taking the page to be queried as a target page, and executing the step of acquiring the degradation data of the target page from a preset database.
Optionally, the configuration file further includes a degradation level of the target page, and in a case that the degradation data of the target page is not acquired from the preset database, the method further includes:
according to the storage path and the service type of the target page, inquiring the degradation level of the target page in the configuration file;
if the degradation level is the first level, acquiring real-time data of the target page at the current moment, and returning a request result to the client;
and if the degradation level is a second level, returning null data to the client.
Optionally, before receiving a data acquisition request for a target page sent by a client, the method further includes:
obtaining degradation configuration information, wherein the degradation configuration information corresponds to each page of the same storage path or the same service type;
and generating a configuration file according to the degradation configuration information.
Optionally, the degrading configuration information is batch configuration information or page configuration information, where the batch configuration information is for each page of the same storage path or the same service type, and the page configuration information is for any page of the same service type of the same storage path;
the method further comprises the following steps:
obtaining degradation grade information, wherein the degradation grade information corresponds to each page of the same storage path or the same service type;
generating a configuration file according to the degradation configuration information comprises:
and generating a configuration file according to the degradation configuration information and the degradation grade information.
The embodiment of the invention also provides a system for processing the degraded data, which comprises a degraded data storage server and a degraded data acquisition server, wherein:
the degraded data storage server is used for acquiring one or more pieces of task information, and each piece of task information comprises a data acquisition interval of a corresponding page; acquiring real-time data of a page corresponding to the task information according to the data acquisition interval; the acquired real-time data are used as degradation data and stored in a preset database;
the degraded data obtaining server is used for obtaining the degraded data of the target page from a preset database after receiving a data obtaining request aiming at the target page sent by a client, and returning the obtained degraded data to the client, wherein the target page is the degraded page determined according to a query result of a configuration file.
Optionally, the degraded data storage server includes a scheduling unit and an execution unit, wherein:
the scheduling unit is used for acquiring one or more pieces of task information, and each piece of task information comprises a data acquisition interval of a corresponding page; distributing the task information to the execution unit;
the execution unit is used for acquiring the task information distributed by the scheduling unit, and the task information comprises a data acquisition interval of a corresponding page; acquiring real-time data of a page corresponding to the distributed task information according to the data acquisition interval; and storing the acquired real-time data as degradation data to a preset database.
Optionally, the task information further includes a plurality of subtask information;
the execution unit is specifically configured to synchronously acquire real-time data corresponding to each subtask information in the allocated task information according to the data acquisition interval; and taking the acquired real-time data as degradation data, and storing the degradation data in a preset database.
Optionally, the execution unit is further configured to obtain real-time data of a page corresponding to the allocated task information according to the data obtaining interval; and carrying out accuracy verification on the acquired real-time data, and if the verification result is normal, storing the acquired real-time data as degraded data to a preset database.
Optionally, the execution unit is specifically configured to use the acquired real-time data as degradation data, and correspondingly store the degradation data and the timestamp of the degradation data in a preset database.
Optionally, the degraded data obtaining server includes a service unit and a configuration unit, where:
the business unit is used for receiving a data acquisition request aiming at a page to be inquired and sent by a client; inquiring the service type of the page to be inquired according to the corresponding relation between the page and the service type which are stored in advance; generating a degradation query request according to the service type of the page to be queried, wherein the degradation query request also comprises a storage path of the page to be queried; sending the degradation query request to the configuration unit;
the configuration unit is used for inquiring the degradation configuration information of the page to be inquired in the configuration file, judging whether the page to be inquired is a degradation page or not and returning an inquiry result to the service unit;
the business unit is further used for taking the page to be inquired as a target page and acquiring degraded data of the target page from a preset database under the condition that the page to be inquired is a degraded page; and returning the acquired degraded data to the client.
Optionally, the data acquisition request includes a target version number,
the service unit is specifically configured to obtain degraded data corresponding to the target version number of the target page from a preset database.
Optionally, the service unit is specifically configured to search the degraded data of the target page and a timestamp of each degraded data from the preset database; and acquiring the degraded data with the latest timestamp from the degraded data of the target page.
Optionally, the configuration unit is further configured to obtain degradation configuration information, and generate a configuration file according to the degradation configuration information, where the degradation configuration information corresponds to a same storage path, a same service type, or each page of a same machine room.
Optionally, the degrading configuration information is batch configuration information or page configuration information, where the batch configuration information is for each page of the same storage path or the same service type, and the page configuration information is for any page of the same service type of the same storage path;
the configuration unit is further configured to obtain degradation level information, where the degradation level information corresponds to each page of the same storage path or the same service type; generating a configuration file according to the degradation configuration information and the degradation grade information; and inquiring the degradation level of the page to be inquired in the configuration file, and returning an inquiry result to the service server.
Optionally, the configuration file further includes a degradation level of the target page;
the service unit is further configured to, when the degradation data of the target page is not obtained from the preset database, obtain real-time data of the target page at the current moment if the degradation level of the target page is a first level, and return a request result to the client; and if the degradation level of the target page is a second level, returning null data to the client.
An embodiment of the present invention further provides a device for processing degraded data, where the device includes:
the system comprises a task information acquisition module, a page processing module and a page processing module, wherein the task information acquisition module is used for acquiring one or more pieces of task information, and each piece of task information comprises a data acquisition interval of a corresponding page;
the degraded data storage module is used for acquiring real-time data of a page corresponding to the task information according to the data acquisition interval, and storing the acquired real-time data as degraded data to a preset database;
the data processing system comprises a degraded data application module and a data processing module, wherein the degraded data application module is used for acquiring degraded data of a target page from a preset database after receiving a data acquisition request aiming at the target page sent by a client, and returning the acquired degraded data to the client, and the target page is a degraded page determined according to a query result of a configuration file.
The embodiment of the invention also provides electronic equipment which comprises a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory complete mutual communication through the communication bus;
a memory for storing a computer program;
and a processor for implementing any of the above-described methods for processing degraded data when executing the program stored in the memory.
An embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, where the computer program is executed by a processor to implement any one of the above-mentioned methods for processing degraded data.
The method, the system, the device, the electronic equipment and the storage medium for processing the degraded data provided by the embodiment of the invention comprise the following steps: acquiring one or more pieces of task information, wherein each piece of task information comprises a data acquisition interval of a corresponding page; acquiring real-time data of a page corresponding to the task information according to the data acquisition interval, and storing the acquired real-time data as degradation data in a preset database; after receiving a data acquisition request aiming at a target page sent by a client, acquiring degraded data of the target page from a preset database, and returning the acquired degraded data to the client, wherein the target page is a degraded page determined according to a query result of a configuration file. Therefore, when the target page requested by the client is the degraded page, the pre-stored degraded data of the target page can be acquired, and the degraded data is returned to the client, so that the client can still acquire the data of the target page, the user experience is improved, and the user loss is reduced.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below.
Fig. 1 is a schematic flowchart of a method for processing degraded data according to an embodiment of the present invention;
FIG. 2 is a schematic diagram illustrating splitting task information according to an embodiment of the present invention;
fig. 3 is a schematic structural diagram of a system corresponding to a method for processing degraded data according to an embodiment of the present invention;
FIG. 4 is a logic flow diagram of a method for destaging data according to an embodiment of the present invention;
FIG. 5 is a block diagram of a system for processing degraded data according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of a processing apparatus for degrading data according to an embodiment of the present invention;
fig. 7 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be described below with reference to the drawings in the embodiments of the present invention.
In the related art, under the condition that the CPU and the memory are over-stressed, the server is in an unavailable state due to overload, so that the page of the client has no data, at this time, service degradation can be realized by limiting the current, service is suspended for part of the clients, and data is no longer returned to access requests of the clients. However, this will cause that part of the clients cannot acquire the returned data all the time in the service degradation process, and the user experience is poor, which is likely to cause user loss.
In order to solve the above problem, an embodiment of the present invention provides a method for processing degraded data, and the method for processing degraded data provided by the embodiment of the present invention is generally described below, and includes the following steps:
acquiring one or more pieces of task information, wherein each piece of task information comprises a data acquisition interval of a corresponding page;
acquiring real-time data of a page corresponding to the task information according to the data acquisition interval, and storing the acquired real-time data as degradation data in a preset database;
after receiving a data acquisition request aiming at a target page sent by a client, acquiring degraded data of the target page from a preset database, and returning the acquired degraded data to the client, wherein the target page is a degraded page determined according to a query result of a configuration file.
As can be seen from the above, in the method for processing degraded data provided in the embodiment of the present invention, when the target page requested by the client is a degraded page, the pre-stored degraded data of the target page can be acquired, and the degraded data is returned to the client, so that the client can still acquire the data of the target page, thereby improving user experience and reducing user loss.
The following describes in detail the processing method of degraded data according to an embodiment of the present invention with a specific embodiment.
As shown in fig. 1, a schematic flow chart of a method for processing degraded data according to an embodiment of the present invention is shown, where the method includes the following steps:
s101, one or more pieces of task information are obtained, and each piece of task information comprises a data obtaining interval of a corresponding page.
In the embodiment of the invention, the task information is information for acquiring the degraded data of the corresponding page, the task information comprises a data acquisition interval for acquiring the degraded data, the data acquisition interval can be configured by a user, and the maintenance of the degraded data at the second level, the minute level and the hour level can be realized according to the requirement of the user.
In the task information, identification information and a URL (Uniform Resource Locator) of the corresponding page may also be included. The identification information of each page uniquely corresponds to the page, and may include information such as a page name, a page sub-name, a code and a version number of the corresponding client of the page, and the page may be located on the internet according to the URL of the page.
In an implementation manner, the server in the embodiment of the present invention is a server cluster, and the task information may be generated by a node in the server cluster. For example, an xxljoba open source project can be introduced into a server cluster, wherein xxljoba divides nodes in the server cluster into scheduling nodes and execution nodes, the scheduling nodes are used for acquiring task information and sending the task information to each execution node, and the task execution nodes are used for implementing execution of the task information based on a springboot frame.
In the embodiment of the present invention, the task information may be stored in a task information database, for example, the task information database may be a MySQL database.
And S102, acquiring real-time data of a page corresponding to the task information according to the data acquisition interval, and storing the acquired real-time data as degradation data to a preset database.
For example, if the data acquisition interval is set to 3 minutes, then, the real-time data of the page corresponding to the task information is acquired every 3 minutes, and the acquired real-time data is used as degraded data, so that the degraded data stored in the preset database and the real-time data at that moment differ by at most 3 minutes at any moment, and the change of the data is small within 3 minutes, so that the degraded data is closer to the current real data.
When the access of a certain page is wrong, the stored path list corresponding to the page can be traversed, the page is switched to other machine rooms, the data of the page is obtained again, and in the data obtaining process, all personalized related parameters are removed, so that the obtained degradation data can be suitable for different clients.
In one implementation, after the real-time data of the page corresponding to the task information is acquired, the accuracy of the acquired real-time data can be checked, and if the checking result is normal, the acquired real-time data is stored in a preset database as the degraded data of the page. Therefore, abnormal data can be found in time, and storage resource waste caused by excessive useless data stored in a preset database is avoided.
The method includes the steps of verifying a state code and card table information of the real-time data, wherein the state code is defined by a sending end and a receiving end of the real-time data together and is used for representing different states between the sending end and the receiving end.
In this step, the preset database may be a Redis database, and the degraded data of each page is stored in the preset database, where the preset database may include a data list corresponding to each page, and after the degraded data is obtained, the degraded data may be stored in the data list of the page corresponding to the degraded data in the preset database, and the degraded data in the data list is arranged according to a time sequence, so that the degraded data is convenient to maintain and use.
In an implementation manner, when the acquired real-time data is used as degradation data and stored in a preset database, the degradation data and a timestamp of the degradation data may be correspondingly stored in the preset database, where the timestamp of the data may be determined according to the time for acquiring the degradation data or the time for storing the degradation data in the preset database, and is not limited specifically.
Furthermore, the data saving time of the preset database may be set, and if the difference between the timestamp of the degraded data and the current time exceeds the data saving time, the degraded data is deleted, for example, the saving time may be set to 1 hour, and if the difference between the timestamp of the degraded data and the current time exceeds 1 hour, that is, the storage time of the degraded data in the preset database exceeds 1 hour, then the degraded data is deleted. It can be understood that the longer the storage time of the degraded data is, the longer the acquisition time of the degraded data is from the current time, the larger the difference between the degraded data and the current real-time data is, and by setting the data storage time of the preset database, the degraded data with longer storage time and larger difference from the current data of the page can be deleted from the preset database in time, so that the waste of resources of the preset database is reduced.
In the embodiment of the present invention, each piece of task information may include a plurality of pieces of subtask information, and in this case, real-time data corresponding to each piece of subtask information in the piece of task information may be synchronously acquired according to a data acquisition interval, and then, the acquired real-time data is used as degradation data, and the degradation data is stored in a preset database. In this way, in the process of executing the task, a plurality of subtasks are synchronously executed, so that the task concurrency rate can be improved.
As shown in fig. 2, the schematic diagram of splitting task information is shown, where the task information may be split into subtask information 1, subtask information 2, and subtask information 3, where the subtask information 1 may also be further split into subtask information 1.1 and subtask information 1.2, and the subtask information 3 may also be further split into subtask information 3.1 and subtask information 3.2, so that, in the process of executing the task, each subtask may be executed synchronously, and a subtask result 1, a subtask result 2, and a subtask result 3 are obtained at the same time, and then, an execution result of the task information is obtained.
S103, after receiving a data acquisition request aiming at a target page sent by a client, acquiring degraded data of the target page from a preset database, and returning the acquired degraded data to the client, wherein the target page is determined according to a query result of a configuration file.
The step of obtaining the degraded data of the target page from the preset database may include: the method comprises the steps of firstly searching degraded data of a target page and a timestamp of each degraded data from a preset database, and then obtaining the degraded data with the latest timestamp from the degraded data of the target page. It can be understood that, the more recent degraded data of the timestamp is, the shorter the acquisition time is from the current time, the smaller the gap between the degraded data and the current real-time data is, and thus, the closer the degraded data sent to the client is to the current real-time data, the smaller the influence on the user experience is.
In an implementation manner, the data obtaining request further includes a target version number, and when the degraded data of the target page is obtained from the preset database, the degraded data corresponding to the target version number of the target page may be obtained from the preset database. Thus, the obtained degraded data has higher matching degree with the target page.
In the embodiment of the present invention, the target page is a degraded page determined according to the query result of the configuration file, and the following steps may be adopted to determine whether the data acquisition request is for the degraded page:
firstly, receiving a data acquisition request aiming at a page to be inquired sent by a client, and inquiring the service type of the page to be inquired according to the corresponding relation between the page and the service type which are stored in advance; secondly, according to the storage path and the service type of the page to be inquired, inquiring the degradation configuration information of the page to be inquired in the configuration file, and judging whether the page to be inquired is a degradation page or not; and if so, taking the page to be inquired as a target page.
The configuration file includes destaging configuration information for indicating whether each page is a destaged page, where the destaging configuration information may be batch configuration information for pages of the same storage path, the same service type, and the same machine room, or may also be page configuration information for any page of the same storage path, the same service type, and the same machine room.
For example, the name of each downgrade configuration information may include one or more items of information in the storage path, the service type, and the room corresponding to the switch item, for example, for two service types project _ a and project _ b in the room DC, the names of the corresponding downgrade configuration information may be project _ a _ JJ _ DC and project _ b _ JJ _ DC, respectively.
The destaging configuration information is batch configuration information or page configuration information, wherein the batch configuration information is for each page of the same storage path or the same service type, and the page configuration information is for any page of the same service type of the same storage path, that is, the page is the minimum granularity to which the destaging function is controlled, belongs to the page of the same service type and the same storage path, and the pages can be configured independently or in batch corresponding to the same destaging configuration information. For example, if the value field of the degradation configuration information includes a name of any page, such as "page t. page st", it indicates that the page is a degraded page, and a page not included in the value field of the degradation configuration information is not a degraded page, at this time, the degradation configuration information is page configuration information, or global configuration may be performed, for example, if the value field of the degradation configuration information is a preset value, such as 1, all pages corresponding to the degradation configuration information are degraded pages, at this time, the degradation configuration information is batch configuration information.
In one implementation, before receiving a data acquisition request for a target page sent by a client, degradation configuration information may be acquired, where the degradation configuration information corresponds to each page of the same storage path or the same service type, and a configuration file is generated according to the degradation configuration information.
The configuration file also comprises the degradation level of the target page, and the degradation level of the target page can be inquired in the configuration file according to the storage path and the service type of the target page under the condition that the degradation data of the target page is not acquired from the preset database; if the degradation level is the first level, acquiring real-time data of a target page at the current moment, and returning a request result to the client; and if the degradation level is the second level, returning null data to the client.
That is, if the degradation level is the first level, the service degradation has conservatism, the degradation logic and the normal logic function simultaneously, if degraded data exists in the preset database, the degraded data is returned to the client, and if no degraded data exists in the preset database, the real-time data of the target page is acquired and returned; and if the degradation level is the second level, the service degradation is complete degradation, the degraded page obeys the degradation logic, if the degraded data exists in the preset database, the degraded data is returned to the client, and if the degraded data does not exist in the preset database, the blank is returned to the client.
In the step of generating the configuration file, the method may further include obtaining degradation level information, where the degradation level information corresponds to each page of the same storage path or the same service type, and further, the configuration file may be generated according to the degradation configuration information and the degradation level information.
The degradation level information in the configuration file may be determined according to the value field, for example, if the value field of the degradation level information is 1, the degradation level is a first level, and if the value field of the degradation level information is 2, the degradation level is a second level, or other setting methods may be adopted, which is not limited specifically.
In one implementation, after obtaining the degraded data from the preset database, the accuracy of the obtained degraded data may be checked, and if the check result is abnormal, the latest stored degraded data except the obtained degraded data is obtained from the preset database, and the step of checking the accuracy of the obtained degraded data is returned. The accuracy check of the acquired degraded data may include verifying a status code and card table information of the real-time data, and is not particularly limited.
For example, as shown in fig. 3, a schematic diagram of a method for processing degraded data according to an embodiment of the present invention is provided. The scheme can be divided into a task module, a storage module and an application module. The task module can generate task information by a plurality of task scheduling nodes in the task scheduling cluster, send the task information to a plurality of task execution nodes in the task execution cluster, and execute the task information by the task execution nodes to obtain degraded data. The storage module can maintain a Redis database and a MySQL database, wherein the Redis database is used for storing degraded data, and the MySQL database can store task information. The service module can query a switch item of a target page in a configuration file according to the target page corresponding to the data acquisition request, judge whether the target page is a degraded page, and if so, acquire degraded data of the target page from a Redis database.
Fig. 4 is a logic flow diagram of a method for processing degraded data according to an embodiment of the present invention, and is shown in a schematic system structure diagram of the method for processing degraded data shown in fig. 3. The task module can acquire task information from the scheduling node and store the task information into a MySQL database maintained by the storage module, a Redis database maintained by the storage module can synchronize the task information from the MySQL database, then the task module can trigger the execution node to execute the task information, firstly, a URL of a page is inquired from the Redis database according to a page identifier, whether the URL of the page is available is judged, if the URL of the page is not available, a machine room is switched to retry, if the URL of the page is available, degraded data is acquired, accuracy verification is carried out on the degraded data, and the degraded data with normal verification results are correspondingly stored into the Redis database. The service module can inquire whether the page to be inquired is a degraded page or not after receiving a data acquisition request of the page to be inquired, if not, real-time data of the target page is acquired and returned to the client, if so, degraded data of the target page is acquired from the Redis database, accuracy verification is carried out on the degraded data, the degraded data with a normal verification result is returned to the client, and if the verification result is abnormal, the degraded data can be acquired from the Redis database according to the sequence of the timestamps from late to early, and the step of carrying out accuracy verification on the degraded data is returned.
As can be seen from the above, in the method for processing degraded data provided in the embodiment of the present invention, when the target page requested by the client is a degraded page, the pre-stored degraded data of the target page can be acquired, and the degraded data is returned to the client, so that the client can still acquire the data of the target page, thereby improving user experience and reducing user loss.
As shown in fig. 5, an embodiment of the present invention further provides a system for processing degraded data, where the system includes a degraded data storage server 510 and a degraded data obtaining server 520, where:
a degraded data storage server 510, configured to obtain one or more pieces of task information, where each piece of task information includes a data obtaining interval of a corresponding page; acquiring real-time data of a page corresponding to the task information according to the data acquisition interval; the acquired real-time data are used as degradation data and stored in a preset database;
the degraded data obtaining server 520 is configured to, after receiving a data obtaining request for a target page sent by a client, obtain degraded data of the target page from a preset database, and return the obtained degraded data to the client, where the target page is a degraded page determined according to a query result of a configuration file.
In one implementation, the degraded data storage server 510 includes a scheduling unit 511 and an execution unit 512, wherein:
the scheduling unit 511 is configured to obtain one or more pieces of task information, where each piece of task information includes a data obtaining interval of a corresponding page; distributing the task information to an execution unit;
the execution unit 512 is configured to acquire task information allocated by the scheduling unit, where the task information includes a data acquisition interval of a corresponding page; acquiring real-time data of a page corresponding to the distributed task information according to the data acquisition interval; and storing the acquired real-time data as degradation data to a preset database.
In one implementation, the task information further includes a plurality of subtask information;
an executing unit 512, specifically configured to synchronously acquire real-time data corresponding to each subtask information in the allocated task information according to the data acquisition interval; and taking the acquired real-time data as degradation data, and storing the degradation data in a preset database.
In an implementation manner, the execution unit 512 is further configured to obtain real-time data of a page corresponding to the allocated task information according to a data obtaining interval; and carrying out accuracy verification on the acquired real-time data, and if the verification result is normal, storing the acquired real-time data as degraded data to a preset database.
In an implementation manner, the execution unit 512 is specifically configured to use the acquired real-time data as degradation data, and correspondingly store the degradation data and a timestamp of the degradation data in a preset database.
In one implementation, the degraded data obtaining server 520 includes a service unit 521 and a configuration unit 522, where:
a service unit 521, configured to receive a data acquisition request for a page to be queried, where the data acquisition request is sent by a client; inquiring the service type of the page to be inquired according to the corresponding relation between the page and the service type which are stored in advance; generating a degradation query request according to the service type of the page to be queried, wherein the degradation query request also comprises a storage path of the page to be queried; sending a degradation query request to a configuration unit;
the configuration unit 522 is configured to query, in the configuration file, the degraded configuration information of the page to be queried, determine whether the page to be queried is a degraded page, and return a query result to the service unit;
the service unit 521 is further configured to, when the page to be queried is a degraded page, take the page to be queried as a target page, and obtain degraded data of the target page from a preset database; and returning the acquired degraded data to the client.
In one implementation, the data acquisition request includes a target version number,
the service unit 521 is specifically configured to obtain degraded data corresponding to the target version number of the target page from a preset database.
In one implementation, the service unit 521 is specifically configured to search the degradation data of the target page and a timestamp of each degradation data from a preset database; and acquiring the degraded data with the latest timestamp from the degraded data of the target page.
In one implementation, the configuration unit 522 is further configured to obtain degradation configuration information, and generate a configuration file according to the degradation configuration information, where the degradation configuration information corresponds to a same storage path, a same service type, or each page of a same machine room.
In one implementation, the degradation configuration information is batch configuration information or page configuration information, where the batch configuration information is for each page of the same storage path or the same service type, and the page configuration information is for any page of the same service type of the same storage path;
the configuration unit 522 is further configured to obtain degradation level information, where the degradation level information corresponds to each page of the same storage path or the same service type; generating a configuration file according to the degradation configuration information and the degradation grade information; and in the configuration file, inquiring the degradation level of the page to be inquired, and returning an inquiry result to the service server.
In one implementation, the configuration file further includes a degradation level of the target page;
the service unit 521 is further configured to, under the condition that the degradation data of the target page is not obtained from the preset database, if the degradation level of the target page is the first level, obtain real-time data of the target page at the current moment, and return a request result to the client; and if the degradation level of the target page is the second level, returning null data to the client.
As can be seen from the above, in the processing system for degraded data provided in the embodiment of the present invention, when the target page requested by the client is a degraded page, the degraded data of the target page stored in advance can be acquired, and the degraded data is returned to the client, so that the client can still acquire the data of the target page, thereby improving user experience and reducing user loss.
As shown in fig. 6, an embodiment of the present invention further provides an apparatus for processing degraded data, where the apparatus includes:
a task information obtaining module 601, configured to obtain one or more pieces of task information, where each piece of task information includes a data obtaining interval of a corresponding page;
the degraded data storage module 602 is configured to obtain real-time data of a page corresponding to the task information according to the data obtaining interval, and store the obtained real-time data as degraded data in a preset database;
the degraded data application module 603 is configured to, after receiving a data acquisition request for a target page sent by a client, acquire degraded data of the target page from a preset database, and return the acquired degraded data to the client, where the target page is a degraded page determined according to a query result of a configuration file. .
As can be seen from the above, in the processing device for degraded data provided in the embodiment of the present invention, when the target page requested by the client is a degraded page, the pre-stored degraded data of the target page can be acquired, and the degraded data is returned to the client, so that the client can still acquire the data of the target page, thereby improving user experience and reducing user loss.
An embodiment of the present invention further provides an electronic device, as shown in fig. 7, including a processor 701, a communication interface 702, a memory 703 and a communication bus 704, where the processor 701, the communication interface 702, and the memory 703 complete mutual communication through the communication bus 704,
a memory 703 for storing a computer program;
the processor 701 is configured to implement the following steps when executing the program stored in the memory 703:
acquiring one or more pieces of task information, wherein each piece of task information comprises a data acquisition interval of a corresponding page;
acquiring real-time data of a page corresponding to the task information according to the data acquisition interval, and storing the acquired real-time data as degradation data in a preset database;
after receiving a data acquisition request aiming at a target page sent by a client, acquiring degraded data of the target page from a preset database, and returning the acquired degraded data to the client, wherein the target page is a degraded page determined according to a query result of a configuration file.
The communication bus mentioned in the above terminal may be a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The communication bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is shown, but this does not mean that there is only one bus or one type of bus.
The communication interface is used for communication between the terminal and other equipment.
The Memory may include a Random Access Memory (RAM) or a non-volatile Memory (non-volatile Memory), such as at least one disk Memory. Optionally, the memory may also be at least one memory device located remotely from the processor.
The Processor may be a general-purpose Processor, and includes a Central Processing Unit (CPU), a Network Processor (NP), and the like; the Integrated Circuit may also be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other Programmable logic device, a discrete Gate or transistor logic device, or a discrete hardware component.
In another embodiment of the present invention, a computer-readable storage medium is further provided, in which instructions are stored, and when the instructions are executed on a computer, the computer is caused to execute the method for processing degraded data in any one of the above embodiments.
In yet another embodiment of the present invention, there is also provided a computer program product containing instructions which, when run on a computer, cause the computer to perform the method for processing degraded data according to any one of the above embodiments.
In the above embodiments, the implementation may be wholly or partially realized by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When loaded and executed on a computer, cause the processes or functions described in accordance with the embodiments of the invention to occur, in whole or in part. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. The computer instructions may be stored in a computer readable storage medium or transmitted from one computer readable storage medium to another, for example, from one website site, computer, server, or data center to another website site, computer, server, or data center via wired (e.g., coaxial cable, fiber optic, Digital Subscriber Line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device, such as a server, a data center, etc., that incorporates one or more of the available media. The usable medium may be a magnetic medium (e.g., floppy Disk, hard Disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., Solid State Disk (SSD)), among others.
It is noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
All the embodiments in the present specification are described in a related manner, and the same and similar parts among the embodiments may be referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, for the system embodiment, since it is substantially similar to the method embodiment, the description is simple, and for the relevant points, reference may be made to the partial description of the method embodiment.
The above description is only for the preferred embodiment of the present invention, and is not intended to limit the scope of the present invention. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention shall fall within the protection scope of the present invention.

Claims (14)

1. A method for processing degraded data, the method comprising:
acquiring one or more pieces of task information, wherein each piece of task information comprises a data acquisition interval of a corresponding page;
acquiring real-time data of a page corresponding to the task information according to the data acquisition interval, and storing the acquired real-time data as degradation data in a preset database;
after receiving a data acquisition request aiming at a target page sent by a client, acquiring degraded data of the target page from the preset database, and returning the acquired degraded data to the client, wherein the target page is a degraded page determined according to a query result of a configuration file.
2. The method according to claim 1, wherein the task information further includes a plurality of subtask information, and the acquiring real-time data of the page corresponding to the task information according to the data acquisition interval and storing the acquired real-time data as degraded data in a preset database includes:
synchronously acquiring real-time data corresponding to each subtask information in the task information according to the data acquisition interval;
and taking the acquired real-time data as degradation data, and storing the degradation data in a preset database.
3. The method according to claim 1 or 2, wherein the acquiring real-time data of the page corresponding to the task information according to the data acquisition interval comprises:
acquiring real-time data of a page corresponding to the task information according to the data acquisition interval;
and carrying out accuracy verification on the acquired real-time data, and if the verification result is normal, storing the acquired real-time data as degraded data to a preset database.
4. The method of claim 1, wherein storing the acquired real-time data as degraded data to a predetermined database comprises:
and taking the acquired real-time data as degradation data, and correspondingly storing the degradation data and the time stamp of the degradation data to a preset database.
5. The method according to claim 1, wherein the data obtaining request includes a target version number, and the obtaining of the destage data of the target page from the preset database includes:
and obtaining the degradation data corresponding to the target version number of the target page from a preset database.
6. The method according to claim 1, wherein the obtaining of the destage data of the target page from the preset database comprises:
searching the degraded data of the target page and the timestamp of each degraded data from the preset database;
and acquiring the degraded data with the latest timestamp from the degraded data of the target page.
7. The method of claim 1, wherein receiving a data acquisition request for a target page sent by a client comprises:
receiving a data acquisition request aiming at a page to be queried, which is sent by a client;
inquiring the service type of the page to be inquired according to the corresponding relation between the page and the service type which are stored in advance;
according to the storage path and the service type of the page to be inquired, inquiring the degradation configuration information of the page to be inquired in the configuration file, and judging whether the page to be inquired is a degradation page or not;
if so, taking the page to be queried as a target page, and executing the step of acquiring the degradation data of the target page from a preset database.
8. The method according to claim 7, wherein the configuration file further includes a downgrade level of the target page, and in a case that the downgrade data of the target page is not obtained from the preset database, the method further includes:
according to the storage path and the service type of the target page, inquiring the degradation level of the target page in the configuration file;
if the degradation level is the first level, acquiring real-time data of the target page at the current moment, and returning a request result to the client;
and if the degradation level is a second level, returning null data to the client.
9. The method of claim 1, wherein before receiving the data acquisition request for the target page sent by the client, the method further comprises:
obtaining degradation configuration information, wherein the degradation configuration information corresponds to each page of the same storage path or the same service type;
and generating a configuration file according to the degradation configuration information.
10. The method of claim 9, wherein the destage configuration information is batch configuration information or page configuration information, wherein the batch configuration information is for each page of the same storage path or the same service type, and the page configuration information is for any page of the same service type of the same storage path;
the method further comprises the following steps:
obtaining degradation grade information, wherein the degradation grade information corresponds to each page of the same storage path or the same service type;
generating a configuration file according to the degradation configuration information comprises:
and generating a configuration file according to the degradation configuration information and the degradation grade information.
11. A system for processing degraded data, the system comprising a degraded data storage server and a degraded data acquisition server, wherein:
the degraded data storage server is used for acquiring one or more pieces of task information, and each piece of task information comprises a data acquisition interval of a corresponding page; acquiring real-time data of a page corresponding to the task information according to the data acquisition interval; the acquired real-time data are used as degradation data and stored in a preset database;
the degraded data obtaining server is used for obtaining the degraded data of the target page from a preset database after receiving a data obtaining request aiming at the target page sent by a client, and returning the obtained degraded data to the client, wherein the target page is the degraded page determined according to a query result of a configuration file.
12. An apparatus for processing degraded data, the apparatus comprising:
the system comprises a task information acquisition module, a page processing module and a page processing module, wherein the task information acquisition module is used for acquiring one or more pieces of task information, and each piece of task information comprises a data acquisition interval of a corresponding page;
the degraded data storage module is used for acquiring real-time data of a page corresponding to the task information according to the data acquisition interval, and storing the acquired real-time data as degraded data to a preset database;
the data processing system comprises a degraded data application module and a data processing module, wherein the degraded data application module is used for acquiring degraded data of a target page from a preset database after receiving a data acquisition request aiming at the target page sent by a client, and returning the acquired degraded data to the client, and the target page is a degraded page determined according to a query result of a configuration file.
13. An electronic device is characterized by comprising a processor, a communication interface, a memory and a communication bus, wherein the processor and the communication interface are used for realizing mutual communication by the memory through the communication bus;
a memory for storing a computer program;
a processor for implementing the method steps of any of claims 1-10 when executing a program stored in the memory.
14. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the method according to any one of claims 1-10.
CN202011631716.3A 2020-12-30 2020-12-30 Method, system, device, equipment and storage medium for processing degraded data Active CN112732757B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011631716.3A CN112732757B (en) 2020-12-30 2020-12-30 Method, system, device, equipment and storage medium for processing degraded data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011631716.3A CN112732757B (en) 2020-12-30 2020-12-30 Method, system, device, equipment and storage medium for processing degraded data

Publications (2)

Publication Number Publication Date
CN112732757A true CN112732757A (en) 2021-04-30
CN112732757B CN112732757B (en) 2023-07-25

Family

ID=75608351

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011631716.3A Active CN112732757B (en) 2020-12-30 2020-12-30 Method, system, device, equipment and storage medium for processing degraded data

Country Status (1)

Country Link
CN (1) CN112732757B (en)

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110075196A1 (en) * 2009-09-30 2011-03-31 Printable Technologies, Inc. Systems & methods for providing variable data printing (VDP) using dynamic font downgrading
CN107085580A (en) * 2016-02-16 2017-08-22 阿里巴巴集团控股有限公司 The method and client of client displayed page
US9870386B1 (en) * 2014-10-31 2018-01-16 Amazon Technologies, Inc. Reducing I/O operations for on-demand demand data page generation
CN108259526A (en) * 2016-12-28 2018-07-06 阿里巴巴集团控股有限公司 A kind of data transmission method and device
CN108304398A (en) * 2017-01-11 2018-07-20 北京京东尚科信息技术有限公司 System business down method, device and electronic equipment
CN109271412A (en) * 2018-09-28 2019-01-25 中国-东盟信息港股份有限公司 The real-time streaming data processing method and system of smart city
WO2019041670A1 (en) * 2017-08-31 2019-03-07 武汉斗鱼网络科技有限公司 Method, device and system for reducing frequency of functional page requests, and storage medium
US20190197485A1 (en) * 2017-12-22 2019-06-27 Microsoft Technology Licensing, Llc. Suggesting positions for hiring searches
CN110535901A (en) * 2019-07-05 2019-12-03 中国平安财产保险股份有限公司 Service degradation method, apparatus, computer equipment and storage medium
CN111046310A (en) * 2019-12-12 2020-04-21 北京奇艺世纪科技有限公司 Page processing method, device, server and computer readable storage medium
US20200204652A1 (en) * 2018-12-21 2020-06-25 Beijing Baidu Netcom Science And Technology Co., Ltd. Method, apparatus and system for processing data

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110075196A1 (en) * 2009-09-30 2011-03-31 Printable Technologies, Inc. Systems & methods for providing variable data printing (VDP) using dynamic font downgrading
US9870386B1 (en) * 2014-10-31 2018-01-16 Amazon Technologies, Inc. Reducing I/O operations for on-demand demand data page generation
CN107085580A (en) * 2016-02-16 2017-08-22 阿里巴巴集团控股有限公司 The method and client of client displayed page
CN108259526A (en) * 2016-12-28 2018-07-06 阿里巴巴集团控股有限公司 A kind of data transmission method and device
CN108304398A (en) * 2017-01-11 2018-07-20 北京京东尚科信息技术有限公司 System business down method, device and electronic equipment
WO2019041670A1 (en) * 2017-08-31 2019-03-07 武汉斗鱼网络科技有限公司 Method, device and system for reducing frequency of functional page requests, and storage medium
US20190197485A1 (en) * 2017-12-22 2019-06-27 Microsoft Technology Licensing, Llc. Suggesting positions for hiring searches
CN109271412A (en) * 2018-09-28 2019-01-25 中国-东盟信息港股份有限公司 The real-time streaming data processing method and system of smart city
US20200204652A1 (en) * 2018-12-21 2020-06-25 Beijing Baidu Netcom Science And Technology Co., Ltd. Method, apparatus and system for processing data
CN110535901A (en) * 2019-07-05 2019-12-03 中国平安财产保险股份有限公司 Service degradation method, apparatus, computer equipment and storage medium
CN111046310A (en) * 2019-12-12 2020-04-21 北京奇艺世纪科技有限公司 Page processing method, device, server and computer readable storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
李梦;江山;黄幸;安立鹏;: "基于前端的WEB优化设计", 电子设计工程, no. 09 *

Also Published As

Publication number Publication date
CN112732757B (en) 2023-07-25

Similar Documents

Publication Publication Date Title
CN107133234B (en) Method, device and system for updating cache data
CN111177165B (en) Method, device and equipment for detecting data consistency
CN108647357B (en) Data query method and device
CN107748790B (en) Online service system, data loading method, device and equipment
CN111464615A (en) Request processing method, device, server and storage medium
CN105468718B (en) Data consistency processing method, device and system
CN109213604B (en) Data source management method and device
CN110968478B (en) Log acquisition method, server and computer storage medium
CN112579692B (en) Data synchronization method, device, system, equipment and storage medium
CN107025257B (en) Transaction processing method and device
CN112835885B (en) Processing method, device and system for distributed form storage
CN110430070B (en) Service state analysis method, device, server, data analysis equipment and medium
CN110955460B (en) Service process starting method and device, electronic equipment and storage medium
CN113377817A (en) Data processing method, system, device and storage medium
CN113542418A (en) File management method and device, electronic equipment and storage medium
CN110677683B (en) Video storage and video access method and distributed storage and video access system
CN110543509B (en) Monitoring system, method and device for user access data and electronic equipment
CN112732757B (en) Method, system, device, equipment and storage medium for processing degraded data
CN116186082A (en) Data summarizing method based on distribution, first server and electronic equipment
CN111291127B (en) Data synchronization method, device, server and storage medium
CN114844771A (en) Monitoring method, device, storage medium and program product for micro-service system
CN111581238B (en) Information query method and device, electronic equipment and computer readable storage medium
CN110113187B (en) Configuration updating method and device, configuration server and configuration system
CN112765188A (en) Configuration information processing method, configuration management system, electronic device, and storage medium
CN108763291B (en) Data management method and device and electronic equipment

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