CN112749124A - Page information management method and device, computer equipment and readable storage medium - Google Patents

Page information management method and device, computer equipment and readable storage medium Download PDF

Info

Publication number
CN112749124A
CN112749124A CN202011583258.0A CN202011583258A CN112749124A CN 112749124 A CN112749124 A CN 112749124A CN 202011583258 A CN202011583258 A CN 202011583258A CN 112749124 A CN112749124 A CN 112749124A
Authority
CN
China
Prior art keywords
information
page
service
client
service 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.)
Pending
Application number
CN202011583258.0A
Other languages
Chinese (zh)
Inventor
张磊
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen One Account Technology Co ltd
OneConnect Smart Technology Co Ltd
Original Assignee
Shenzhen One Account 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 Shenzhen One Account Technology Co ltd filed Critical Shenzhen One Account Technology Co ltd
Priority to CN202011583258.0A priority Critical patent/CN112749124A/en
Publication of CN112749124A publication Critical patent/CN112749124A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/11File system administration, e.g. details of archiving or snapshots
    • G06F16/128Details of file system snapshots on the file-level, e.g. snapshot creation, administration, deletion
    • 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/2457Query processing with adaptation to user needs
    • 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/25Integrating or interfacing systems involving database management systems
    • G06F16/252Integrating or interfacing systems involving database management systems between a Database Management System and a front-end application
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/06Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling
    • G06Q10/063Operations research, analysis or management
    • G06Q10/0637Strategic management or analysis, e.g. setting a goal or target of an organisation; Planning actions based on goals; Analysis or evaluation of effectiveness of goals
    • G06Q10/06375Prediction of business process outcome or impact based on a proposed change
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/04Trading; Exchange, e.g. stocks, commodities, derivatives or currency exchange
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/20Image preprocessing
    • G06V10/22Image preprocessing by selection of a specific region containing or referencing a pattern; Locating or processing of specific regions to guide the detection or recognition
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V30/00Character recognition; Recognising digital ink; Document-oriented image-based pattern recognition
    • G06V30/10Character recognition
    • G06V30/14Image acquisition
    • G06V30/148Segmentation of character regions
    • G06V30/153Segmentation of character regions using recognition of characters or words

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Databases & Information Systems (AREA)
  • Human Resources & Organizations (AREA)
  • Strategic Management (AREA)
  • Economics (AREA)
  • Data Mining & Analysis (AREA)
  • General Engineering & Computer Science (AREA)
  • Development Economics (AREA)
  • General Business, Economics & Management (AREA)
  • Multimedia (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Educational Administration (AREA)
  • Finance (AREA)
  • Marketing (AREA)
  • Accounting & Taxation (AREA)
  • Game Theory and Decision Science (AREA)
  • Tourism & Hospitality (AREA)
  • Quality & Reliability (AREA)
  • Operations Research (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Technology Law (AREA)
  • Computational Linguistics (AREA)
  • Storage Device Security (AREA)

Abstract

The invention relates to the technical field of big data, and discloses a page information management method, a device, computer equipment and a readable storage medium, wherein the page information management method comprises the following steps: monitoring a change signal generated by the service page due to the change of the service information in the service page, and calling a snapshot component to make a data snapshot on the service page and the service information in the service page according to the change signal; monitoring the running state of a service page according to the data snapshot; if the operation state of the service page is monitored to be a completion state, deleting the data snapshot; and if the fault of the service page is monitored, sending the data snapshot to the client for generating the service page before the fault. The invention also relates to a blockchain technique, where information can be stored in blockchain nodes. The invention realizes the quick recovery of the business page which is closed by the accident and the business information which is input by the user once, thereby ensuring the stability and the reliability of the transaction process between the client and the transaction platform and avoiding the occurrence of the condition that the user inputs the business information for many times by the accident.

Description

Page information management method and device, computer equipment and readable storage medium
Technical Field
The invention relates to the technical field of data processing of big data, in particular to a page information management method and device, computer equipment and a readable storage medium.
Background
Generally, an automobile transaction platform selects a supplier of accessories and corresponding accessory products according to a frame number, a vehicle type and accessory information recorded by a client, and in the process, when the client performs a transaction with the supplier, a large amount of service information is usually required to be recorded, for example: logistics information, invoice information, accessory remark information, and the like.
However, the inventor has realized that, because the performance and the setting of each client (especially, the mobile terminal of the mobile phone) are different, in the process of inputting the service information on the service page displayed by the client, the client is easily quitted from the service page of the transaction platform due to unexpected situations such as telephone access, WeChat reply, and deadlocking caused by excessive burden of memory operation, and at this time, if the user wants to continue the transaction, the user needs to select the service page again and re-enter the service information on the transaction platform, which greatly reduces the stability and reliability of the transaction process between the client and the transaction platform.
Disclosure of Invention
The invention aims to provide a page information management method, a page information management device, a computer device and a readable storage medium, which are used for solving the problem that when a client exits from a business page of a trading platform due to an accident, the client needs to select the business page again on the trading platform and re-input business information in the prior art.
In order to achieve the above object, the present invention provides a page information management method, including:
monitoring a change signal generated by a service page due to the change of service information in the service page, and calling a snapshot component to make a data snapshot on the service page and the service information in the service page according to the change signal; the change of the service information refers to a situation that the service information in the service page is updated due to the fact that the client modifies or increases or decreases the service information on the service page;
the method comprises the following steps of monitoring a change signal generated by a service page due to the change of service information in the service page, and calling a snapshot component to make a data snapshot on the service page and the service information in the service page according to the change signal, wherein the step comprises the following steps:
monitoring a change signal generated by the service page due to content change, wherein the content change refers to a situation that the content in the service page is updated due to the fact that a client inputs service information on the service page;
calling a snapshot component according to the change signal, and making a data snapshot on the service page and the service information;
monitoring the running state of the service page according to the data snapshot;
if the operation state of the service page is monitored to be a completion state, deleting the data snapshot;
and if the fault of the service page is monitored, sending the data snapshot to the client for generating the service page before the fault.
In the above solution, before monitoring a change signal generated by the service page due to a change of the service information therein, the method further includes:
establishing access login connection with a client, acquiring an Identity (ID) of the client, and acquiring a vehicle identity set corresponding to the ID, wherein the vehicle identity set at least has associated identity information;
acquiring vehicle identity information sent by the client, and traversing whether the vehicle identity set has associated identity information consistent with the vehicle identity information;
if yes, acquiring a service page matched with the associated identity information from a preset transaction platform, and sending the service page to the client;
if not, sending a navigation information page to the client, receiving vehicle type and accessory information recorded in the navigation information page by the client, acquiring a service page matched with the vehicle type and the accessory information from a preset transaction platform, and sending the service page to the client.
In the above scheme, the step of establishing an access login connection with a client and acquiring an identity ID of the client includes:
receiving login information sent by a client, and judging whether the client has login authority or not according to the login information;
if the client has the login authority, establishing access login connection with the client and acquiring the identity ID in the login information;
if the client does not have the login authority, sending an unauthorized login message to the client;
judging whether a preset database has a vehicle identity set corresponding to the identity ID;
if so, acquiring the vehicle identity set;
and if not, sending a vehicle identity page to the client.
In the foregoing solution, the step of traversing whether the associated identity information consistent with the vehicle identity information exists in the vehicle identity set includes:
identifying properties of the vehicle identity information, the properties including text and images;
if the vehicle identity information is a text, setting the vehicle identity information as a reference text, and comparing the reference text with the associated identity information in the vehicle identity set one by one to obtain associated identity information consistent with the vehicle identity information;
if the vehicle identity information is an image, calling OCR equipment to identify text content in the vehicle identity information and set the text content as a reference text, and comparing the reference text with the associated identity information in the vehicle identity set one by one to obtain the associated identity information matched with the vehicle identity information.
In the above scheme, the step of obtaining the service page matched with the associated identity information from a preset transaction platform includes:
extracting the vehicle type and accessory information in the associated identity information, and loading the vehicle type and accessory information into a preset first dialog box to form a query dialog box;
sending the query dialog box to the client, and receiving confirmation information sent by the client according to the query dialog box;
and extracting the vehicle type and accessory information in the confirmation information, and inquiring the transaction platform by taking the vehicle type and the accessory information as inquiry keywords so as to obtain a service page matched with the associated identity information.
In the above solution, the step of monitoring a change signal generated by the service page due to a change in the service information, and calling a snapshot component to make a data snapshot for the service page and the service information therein according to the change signal includes:
creating a snapshot container according to the service page;
monitoring a change signal generated by modifying or increasing or decreasing the service information on the service page by the client;
calling a snapshot component to make a data snapshot on the current service page according to the change signal;
making a timestamp according to the time for making the data snapshot, and loading the timestamp into the data snapshot;
saving the data snapshot with the timestamp into the snapshot container;
encrypting the data snapshot in the snapshot container;
after encrypting the data snapshot in the snapshot container, the method further includes:
uploading the snapshot container into a blockchain.
In the foregoing solution, the step of sending the data snapshot to the client includes:
sending a recovery dialog box to the client;
receiving demand information input by the client in the recovery dialog box, wherein the content of the demand information comprises a recovery request and a cancel request;
if the content of the demand information is a recovery request, sending the data snapshot to the client;
and if the content of the demand information is a cancel request, sending the service page to the client.
In order to achieve the above object, the present invention further provides a page information management apparatus, including:
the snapshot making module is used for monitoring a change signal generated by a service page due to the change of service information in the service page and calling a snapshot component to make a data snapshot for the service page and the service information in the service page according to the change signal; the change of the service information refers to a situation that the service information in the service page is updated due to the fact that the client modifies or increases or decreases the service information on the service page;
the state monitoring module is used for monitoring the running state of the service page according to the data snapshot;
the clearing module is used for deleting the data snapshot when the operation state of the service page is monitored to be a completion state;
and the recovery module is used for sending the data snapshot to the client when the fault of the service page is monitored, and is used for generating the service page before the fault occurs.
In order to achieve the above object, the present invention further provides a computer device, which includes a memory, a processor, and a computer program stored on the memory and executable on the processor, wherein the processor of the computer device implements the steps of the above page information management method when executing the computer program.
In order to achieve the above object, the present invention further provides a computer-readable storage medium, which stores a computer program, and when the computer program stored in the computer-readable storage medium is executed by a processor, the computer program implements the steps of the page information management method.
The page information management method, the page information management device, the computer equipment and the readable storage medium provided by the invention have the advantages that the data snapshot is made on the service page recorded with the service information, the running state of the service page is monitored according to the data snapshot, and when the service page is monitored to have a fault, the data snapshot corresponding to the timestamp is sent to the client for generating the service page before the fault occurs, so that the service page which is input by a user once but closed by an accident is quickly recovered, the stability and the reliability of the transaction process between the client and a transaction platform are ensured, and the condition that the user inputs the service information for many times due to the accident is avoided.
Drawings
FIG. 1 is a flowchart of a first embodiment of a page information management method according to the present invention;
FIG. 2 is a schematic diagram of an environment application of a page information management method according to a second embodiment of the page information management method of the present invention;
FIG. 3 is a flowchart of a page information management method according to a second embodiment of the page information management method of the present invention;
FIG. 4 is a schematic diagram of program modules of a third embodiment of a page information management apparatus according to the present invention;
fig. 5 is a schematic diagram of a hardware structure of a computer device according to a fourth embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The invention provides a page information management method, a page information management device, computer equipment and a readable storage medium, which are suitable for the technical field of data processing of big data and provide a page information management method based on a snapshot making module, a state monitoring module, a cleaning module and a recovery module. The method comprises the steps of monitoring a change signal generated by a service page due to the change of service information in the service page, and calling a snapshot component to make a data snapshot on the service page and the service information in the service page according to the change signal; monitoring the running state of the service page according to the data snapshot; and if the fault of the service page is monitored, sending the data snapshot to the client for generating the service page before the fault.
The first embodiment is as follows:
referring to fig. 1, a page information management method of the present embodiment includes:
s105: monitoring a change signal generated by a service page due to the change of service information in the service page, and calling a snapshot component to make a data snapshot on the service page and the service information in the service page according to the change signal; the change of the service information refers to a situation that the service information in the service page is updated due to the fact that the client modifies or increases or decreases the service information on the service page;
s106: monitoring the running state of the service page according to the data snapshot;
s107: if the operation state of the service page is monitored to be a completion state, deleting the data snapshot;
s108: and if the fault of the service page is monitored, sending the data snapshot to the client for generating the service page before the fault.
In an exemplary embodiment, each step of the business information entry process is recorded and saved in a manner that a reduce-persistence component makes a data snapshot on a business page in which business information is recorded, so that the business page in which the business information is sequentially entered is continuously stored, and a corresponding data snapshot is sent to a client when a subsequent client fails, so that the client can continue to enter the business information.
The service page has:
a normal tag used for expressing that the business page is in a normal state;
an error tag, configured to express that the service page is in a fault state, for example: page refresh errors, conditions of no-reason disconnection from the transaction platform, and the like;
a complete tag, configured to express that the service page is a completion status of completing a transaction, for example: the repair shop and the supplier have completed the transaction and closed the status of the page.
By acquiring the label of the service page, if the acquired label is a complete label, the transaction of the service page is reflected, and at the moment, the technical effect of deleting the data snapshot is realized by deleting the snapshot container store, so that the problem that the operation speed of the server is low because the useless data snapshot occupies too much memory is avoided.
Through obtaining a label of a service page, if the label is an error label, identifying a timestamp closest to the current time in data snapshot states of a snapshot container store, and sending the data snapshot state corresponding to the timestamp to the client for generating the service page before the fault, so as to quickly restore the service page which is once input by a user but closed by accident, so as to ensure the stability and reliability of a transaction process between the client and a transaction platform, and avoid the occurrence of a situation that the user inputs the service information for many times by accident.
Example two:
the embodiment is a specific application scenario of the first embodiment, and the method provided by the present invention can be more clearly and specifically explained through the embodiment.
The method provided in this embodiment is specifically described below by taking an example that a data snapshot is made on a service page in a server running a page information management method, and the data snapshot is sent to the client to generate the service page before the failure occurs. It should be noted that the present embodiment is only exemplary, and does not limit the protection scope of the embodiments of the present invention.
Fig. 2 schematically shows an environment application diagram of the page information management method according to the second embodiment of the present application.
In an exemplary embodiment, the servers 2 in which the page information management method is located are respectively connected with the clients 4 through the network 3; the server 2 may provide services through one or more networks 3, which networks 3 may include various network devices, such as routers, switches, multiplexers, hubs, modems, bridges, repeaters, firewalls, proxy devices, and/or the like. The network 3 may include physical links, such as coaxial cable links, twisted pair cable links, fiber optic links, combinations thereof, and/or the like. The network 3 may include wireless links, such as cellular links, satellite links, Wi-Fi links, and/or the like; the client 4 may be a computer device such as a smart phone, a tablet computer, a notebook computer, and a desktop computer.
Fig. 3 is a flowchart of a specific method of a page information management method according to an embodiment of the present invention, where the method specifically includes steps S201 to S208.
S201: establishing access login connection with a client, acquiring an identity ID of the client, and acquiring a vehicle identity set corresponding to the identity ID, wherein the vehicle identity set at least has associated identity information.
In order to identify user requirements and avoid inconvenience brought by excessive information input by a user on a client, in the step, when access login connection is established with the client, an Identity (ID) of the client is obtained, and a vehicle identity set corresponding to the ID is obtained from a preset database, wherein the associated identity information in the vehicle identity set is vehicle identity information which is stored in the database by a manager in advance and is associated with the ID.
For example, the identity ID may be a telephone number, such as: 139 × 86, and may also be a landing account number, such as: repair shop ID078 ×; the vehicle identity information associated with the identity ID in the database may include: the system comprises a vehicle frame number, a vehicle type, case information, accessory information and the like, wherein the vehicle frame number is the vehicle frame number of the vehicle with the accident recorded by insurance personnel; the vehicle type is the brand, model and style of the vehicle with the accident; the case information can be insurance case specific information generated by insurance personnel rating the accident vehicle, and can comprise time, damage condition, rating amount, maintenance suggestion and the like; the accessory information is generated based on the case information and needs to be replaced, for example: front bumpers, doors, windshields, etc.
In a preferred embodiment, the step of establishing an access login connection with a client and acquiring an identity ID of the client includes:
s11: receiving login information sent by a client, and judging whether the client has login authority or not according to the login information;
s12: if the client has the login authority, establishing access login connection with the client and acquiring the identity ID in the login information;
s13: if the client does not have the login authority, sending an unauthorized login message to the client;
s14: judging whether a preset database has a vehicle identity set corresponding to the identity ID;
s15: if so, acquiring the vehicle identity set;
s16: and if not, sending a vehicle identity page to the client.
S202: and acquiring the vehicle identity information sent by the client, and traversing whether the vehicle identity set has associated identity information consistent with the vehicle identity information.
Therefore, in order to identify the associated identity information that needs to be acquired by the user in the price inquiring operation, the price inquiring purpose of the user is identified by acquiring the vehicle identity information sent by the client and traversing the vehicle identity set to determine whether the associated identity information is consistent with the vehicle identity information.
In a preferred embodiment, the step of traversing whether the vehicle identity set has associated identity information consistent with the vehicle identity information comprises:
s21: identifying properties of the vehicle identity information, the properties including text and images;
s22: if the vehicle identity information is a text, setting the vehicle identity information as a reference text, and comparing the reference text with the associated identity information in the vehicle identity set one by one to obtain associated identity information consistent with the vehicle identity information;
s23: if the vehicle identity information is an image, calling OCR equipment to identify text content in the vehicle identity information and set the text content as a reference text, and comparing the reference text with the associated identity information in the vehicle identity set one by one to obtain the associated identity information matched with the vehicle identity information.
In this embodiment, the vehicle identification information may be a frame number;
the step of comparing the reference text with the associated identity information in the vehicle identity set one by one includes:
and calling a Collection class to store the vehicle identity set in the database in the form of a data set.
In this step, since the associated identity information and the number thereof under the identity ID are not fixed, a set is adopted, that is: and summarizing the associated identity information by the Collection class so as to add or delete the associated identity information corresponding to the identity ID at any time.
And calling an inquiry function through a redux plug-in to traverse the associated identity information in the vehicle identity set, and comparing the frame number in the associated identity information with the reference text.
For example: and comparing the reference frame number reflected by the reference text with the frame numbers of the associated identity information in the vehicle identity set one by one.
It should be noted that the OCR (Optical Character Recognition) device is an electronic device that checks a Character printed on paper (for example, a scanner or a digital camera), determines its shape by detecting a dark and light pattern, and then translates the shape into a computer text by a Character Recognition method.
S203: if so, acquiring a service page matched with the associated identity information from a preset transaction platform, and sending the service page to the client.
In order to avoid the problems that the client frequently inputs query information for multiple times, the client can jump to a required service page, the query operation is complicated, and the efficiency is low; in the step, the problems of complicated query operation and low efficiency caused by the fact that a user inputs query information on a client for multiple times are solved by acquiring the associated identity information matched with the vehicle identity information, directly routing to the service page matched with the associated identity information according to the associated identity information, and sending the service page to the client.
In a preferred embodiment, the step of obtaining the service page matched with the associated identity information from a preset transaction platform includes:
s31: extracting the vehicle type and accessory information in the associated identity information, and loading the vehicle type and accessory information into a preset first dialog box to form a query dialog box;
s32: and sending the query dialog box to the client, and receiving confirmation information sent by the client according to the query dialog box.
In this step, the vehicle type and accessory information in the query dialog box are modifiable, and the user can directly click the confirmation key on the client, or click the confirmation key on the query dialog box after modifying the vehicle type and the accessory information, so as to generate the confirmation information with the vehicle type and accessory information in the query dialog box.
S33: and extracting the vehicle type and accessory information in the confirmation information, and inquiring the transaction platform by taking the vehicle type and the accessory information as inquiry keywords so as to obtain a service page matched with the associated identity information.
In this step, the trading platform can be queried by using the vehicle type and the accessory information as query keywords through a react-navigation routing technology to navigate to a service page matched with the associated identity information.
In this embodiment, the service page may be a posting inquiry page that expresses an accessory inquiry page matching the vehicle model (e.g., addia 6L) and the accessory information (e.g., front bumper) on the trading platform, and the accessory inquiry page has at least one supplier's offer scheme information for the vehicle model and the accessory information; the offer scheme information includes: supplier information, offer information, accessory pictures used for expressing offer content; and the logistics input box, the invoice input box and the accessory remark input box are used for filling user requirements.
S204: if not, sending a navigation information page to the client, receiving vehicle type and accessory information recorded in the navigation information page by the client, acquiring a service page matched with the vehicle type and the accessory information from a preset transaction platform, and sending the service page to the client.
If no associated identity information matched with the vehicle identity information exists under the identity ID, a navigation information page is sent to the client, so that a user can input the required vehicle type and accessory information in the navigation information page, the vehicle type and the accessory information are used as query keywords to query the transaction platform, and the transaction platform is navigated to a service page matched with the vehicle type and the accessory information.
Illustratively, the business page is a posting query page that expresses an accessory query page on the trading platform that matches the vehicle model (e.g., Audi A6L) and the accessory information (e.g., front bumper). The accessory inquiry page is provided with quotation scheme information of at least one supplier for the vehicle type and the accessory information; the offer scheme information includes: supplier information, offer information, accessory pictures used for expressing offer content; and the logistics input box, the invoice input box and the accessory remark input box are used for filling user requirements.
S205: monitoring a change signal generated by a service page due to the change of service information in the service page, and calling a snapshot component to make a data snapshot on the service page and the service information in the service page according to the change signal; the change of the service information refers to a situation that the service information in the service page is updated due to the fact that the client modifies or increases or decreases the service information on the service page.
In order to save each input step of the client in the process of inputting the business information, the information input process is saved in real time, in the step, each step of the business information input process is recorded and saved in a mode of making a data snapshot on a business page recorded with the business information through a reduce-persistence component, so that the business page sequentially input with the business information is continuously stored, and when a subsequent client fails, the corresponding data snapshot is sent to the client so that the client can continuously input the business information.
In this embodiment, the user can select a supplier according to the supplier information, the quotation information, and the accessory picture on the service page, and enter the service information in the logistics input box, the invoice input box, and the accessory remark input box to fill in the user requirement. The reduce-persistence is a computer component that caches data in the store in the browser, and updates the cache only once each time the data in the white list changes.
In a preferred embodiment, the step of monitoring a change signal generated by a service page due to a change of service information in the service page, and calling a snapshot component to make a data snapshot of the service page and the service information in the service page according to the change signal includes:
s51: and creating a snapshot container according to the service page.
In the step, a Redox component is called according to the service page view, and a snapshot container Store is generated through a create Store function, wherein the snapshot container Store is used for storing a data snapshot state. And meanwhile, creating a blank service page default state in the snapshot container.
S52: and monitoring a change signal generated by the client modifying or increasing or decreasing the service information on the service page.
In this step, an Action Creator function is formulated in the service page to define what kind of service information the user modifies or increases or decreases in the service page may generate the change signal Action, and even may define the type of the change signal Action. A store.dispatch () function is formulated in the service page for sending the change signal action, such as: dispatch accepts a change signal Action object as a parameter and sends it out. When a user inputs service information in a service page, a change signal action can be generated, and whether the client generates the change signal action is monitored through a listen function.
S53: and calling a snapshot component to make a data snapshot on the current service page according to the change signal.
In the step, a reduce-persistence component is used as the snapshot component; specifically, after receiving the change signal action, the following steps are performed: when a user inputs first service information on a service page, a Reducer function in a reduce-persistence component is automatically called through a store.
S54: and making a time stamp according to the time for making the data snapshot, and loading the time stamp into the data snapshot.
In this step, a timestamp is loaded in the data snapshot, so that after the change signal action is received again, if: when a user inputs Nth service information on a service page, N is any natural number except 1; and automatically calling a Reducer function by a store.dispatch method according to the change signal Action, taking a data snapshot state with a timestamp closest to the current time in the snapshot container as a parameter, and loading the change signal Action into the data snapshot state (which corresponds to the service page view with the N-1 service information) to form a new data snapshot so as to back up the service page with the Nth service information.
S55: and saving the data snapshot with the time stamp to the snapshot container.
In this step, the data snapshot state is saved to a snapshot container store for restoring the service page.
S56: and encrypting the data snapshot in the snapshot container.
In this step, the data snapshot in the snapshot container is encrypted by an Encryptor, wherein the Encryptor is an encryption component added with an AES encryption algorithm.
In this embodiment, an encryption option is set in the Encryptor, so that a manager can select an encryption object in the snapshot data according to the encryption option, thereby implementing differential encryption, and reducing the encryption operation burden of the server;
for example: the encryption options include: the method comprises the steps that a logistics input box, an invoice input box and an accessory remark input box are selected, the logistics input box and an invoice database are not selected, and the encryption machine Encryptor encrypts service information of the logistics input box and the invoice input box, but does not encrypt the accessory remark input box.
Preferably, after encrypting the data snapshot in the snapshot container, the method further includes:
uploading the snapshot container into a blockchain.
It should be noted that the corresponding digest information is obtained based on the snapshot container, and specifically, the digest information is obtained by hashing the snapshot container, for example, by using the sha256s algorithm. Uploading summary information to the blockchain can ensure the safety and the fair transparency of the user. The user equipment may download the summary information from the blockchain to verify that the snapshot container is tampered with. The blockchain referred to in this example is a novel application mode of computer technologies such as distributed data storage, point-to-point transmission, consensus mechanism, encryption algorithm, and the like. A block chain (Blockchain), which is essentially a decentralized database, is a series of data blocks associated by using a cryptographic method, and each data block contains information of a batch of network transactions, so as to verify the validity (anti-counterfeiting) of the information and generate a next block. The blockchain may include a blockchain underlying platform, a platform product service layer, an application service layer, and the like.
S206: and monitoring the running state of the service page according to the data snapshot.
In order to obtain the operation state of a service page when a user inputs service information into the service page, so as to call a data snapshot to recover the service page according to the operation state, thereby ensuring the reliability of the user when using the service page; or deleting the data snapshot to release the memory, so as to avoid the low operation speed of the server caused by the fact that the useless data snapshot occupies too much memory.
In this embodiment, the service page includes:
a normal tag used for expressing that the business page is in a normal state;
an error tag, configured to express that the service page is in a fault state, for example: page refresh errors, conditions of no-reason disconnection from the transaction platform, and the like;
a complete tag, configured to express that the service page is a completion status of completing a transaction, for example: the repair shop and the supplier have completed the transaction and closed the status of the page.
S207: and if the operation state of the service page is monitored to be a completion state, deleting the data snapshot.
In order to avoid that the useless data snapshot occupies too much memory to cause the low operation speed of the server, the tags of the service pages are obtained, if the obtained tags are complete tags, the transaction of the service pages is reflected, and at the moment, the technical effect of deleting the data snapshot is realized by deleting the snapshot container store.
S208: and if the fault of the service page is monitored, sending the data snapshot to the client for generating the service page before the fault.
In order to quickly recover the business page which is input by the user once but closed by accident, the stability and reliability of the transaction process between the client and the transaction platform are ensured, and the condition that the user inputs the business information for many times by accident is avoided; in this step, by obtaining a tag of a service page, if the tag is an error tag, identifying a timestamp closest to the current time in data snapshot states of the snapshot container store, and sending the data snapshot state corresponding to the timestamp to the client, so as to generate the service page before the fault.
In a preferred embodiment, the step of sending the data snapshot to the client includes:
s81: sending a recovery dialog box to the client;
s82: receiving demand information input by the client in the recovery dialog box, wherein the content of the demand information comprises a recovery request and a cancel request;
s83: if the content of the demand information is a recovery request, sending the data snapshot to the client;
s84: and if the content of the demand information is a cancel request, sending the service page to the client.
Example three:
referring to fig. 4, a page information management apparatus 1 of the present embodiment includes:
the snapshot making module 15 is configured to monitor a change signal generated by a service page due to a change of service information in the service page, and call a snapshot component to make a data snapshot for the service page and the service information in the service page according to the change signal; the change of the service information refers to a situation that the service information in the service page is updated due to the fact that the client modifies or increases or decreases the service information on the service page;
the state monitoring module 16 is configured to monitor an operating state of the service page according to the data snapshot;
a cleaning module 17, configured to delete the data snapshot when it is monitored that the running state of the service page is a complete state;
and the recovery module 18 is configured to send the data snapshot to the client when it is monitored that the service page fails, and is configured to generate the service page before the failure occurs.
Optionally, the page information management apparatus 1 further includes:
the system comprises a login input module 11, a client and a server, wherein the login input module is used for establishing access login connection with the client, acquiring an Identity (ID) of the client and acquiring a vehicle identity set corresponding to the ID, and the vehicle identity set at least comprises one piece of associated identity information;
optionally, the page information management apparatus 1 further includes:
the association verification module 12 is configured to acquire vehicle identity information sent by the client, and traverse whether the vehicle identity set has association identity information that is consistent with the vehicle identity information;
optionally, the page information management apparatus 1 further includes:
the association entry module 13 is configured to acquire a service page matched with the association identity information from a preset transaction platform, and send the service page to the client;
optionally, the page information management apparatus 1 further includes:
and the autonomous entry module 14 is used for sending a navigation information page to the client, receiving the vehicle type and accessory information entered in the navigation information page by the client, acquiring a service page matched with the vehicle type and the accessory information from a preset transaction platform, and sending the service page to the client.
The technical scheme is applied to the field of data processing of big data, a change signal generated by a service page due to the change of service information in the service page is monitored, and a snapshot component is called according to the change signal to make a data snapshot on the service page and the service information in the service page; the change of the service information refers to the condition that the service information in the service page is updated due to the fact that the client modifies or increases or decreases the service information on the service page, and data synchronization between a server operating with a page information management method and the client is achieved; monitoring the running state of the service page according to the data snapshot; and if the fault of the service page is monitored, the data snapshot is sent to the client for generating the service page before the fault, so that the data difference synchronization between the service page of the client after the fault and the service page of the client after the fault is realized.
Example four:
in order to achieve the above object, the present invention further provides a computer device 5, where components of the page information management apparatus in the third embodiment may be dispersed in different computer devices, and the computer device 5 may be a smart phone, a tablet computer, a notebook computer, a desktop computer, a rack-mounted server, a blade server, a tower server, or a rack-mounted server (including an independent server or a server cluster formed by multiple application servers) that executes programs, and the like. The computer device of the embodiment at least includes but is not limited to: a memory 51, a processor 52, which may be communicatively coupled to each other via a system bus, as shown in FIG. 5. It should be noted that fig. 5 only shows a computer device with components, but it should be understood that not all of the shown components are required to be implemented, and more or fewer components may be implemented instead.
In this embodiment, the memory 51 (i.e., a readable storage medium) includes a flash memory, a hard disk, a multimedia card, a card-type memory (e.g., SD or DX memory, etc.), a Random Access Memory (RAM), a Static Random Access Memory (SRAM), a read-only memory (ROM), an electrically erasable programmable read-only memory (EEPROM), a programmable read-only memory (PROM), a magnetic memory, a magnetic disk, an optical disk, and the like. In some embodiments, the memory 51 may be an internal storage unit of the computer device, such as a hard disk or a memory of the computer device. In other embodiments, the memory 51 may be an external storage device of a computer device, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), or the like, provided on the computer device. Of course, the memory 51 may also include both internal and external storage devices of the computer device. In this embodiment, the memory 51 is generally used for storing an operating system and various application software installed in the computer device, for example, the program code of the page information management apparatus in the third embodiment. Further, the memory 51 may also be used to temporarily store various types of data that have been output or are to be output.
Processor 52 may be a Central Processing Unit (CPU), controller, microcontroller, microprocessor, or other data Processing chip in some embodiments. The processor 52 is typically used to control the overall operation of the computer device. In this embodiment, the processor 52 is configured to run program codes stored in the memory 51 or process data, for example, run a page information management apparatus, so as to implement the page information management methods of the first and second embodiments.
Example five:
to achieve the above objects, the present invention also provides a computer readable storage medium, such as a flash memory, a hard disk, a multimedia card, a card type memory (e.g., SD or DX memory, etc.), a Random Access Memory (RAM), a Static Random Access Memory (SRAM), a Read Only Memory (ROM), an Electrically Erasable Programmable Read Only Memory (EEPROM), a Programmable Read Only Memory (PROM), a magnetic memory, a magnetic disk, an optical disk, a server, an App application store, etc., on which a computer program is stored, which when executed by a processor 52, implements corresponding functions. The computer-readable storage medium of the present embodiment is used for a stored page information management apparatus, and when executed by the processor 52, implements the page information management method of the first and second embodiments.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (10)

1. A page information management method is characterized by comprising the following steps:
monitoring a change signal generated by a service page due to the change of service information in the service page, and calling a snapshot component to make a data snapshot on the service page and the service information in the service page according to the change signal; the change of the service information refers to a situation that the service information in the service page is updated due to the fact that the client modifies or increases or decreases the service information on the service page;
monitoring the running state of the service page according to the data snapshot;
if the operation state of the service page is monitored to be a completion state, deleting the data snapshot;
and if the fault of the service page is monitored, sending the data snapshot to the client for generating the service page before the fault.
2. The page information management method according to claim 1, wherein before the monitoring the change signal generated by the service page due to the change of the service information therein, the method further comprises:
establishing access login connection with a client, acquiring an Identity (ID) of the client, and acquiring a vehicle identity set corresponding to the ID, wherein the vehicle identity set at least has associated identity information;
acquiring vehicle identity information sent by the client, and traversing whether the vehicle identity set has associated identity information consistent with the vehicle identity information;
if yes, acquiring a service page matched with the associated identity information from a preset transaction platform, and sending the service page to the client;
if not, sending a navigation information page to the client, receiving vehicle type and accessory information recorded in the navigation information page by the client, acquiring a service page matched with the vehicle type and the accessory information from a preset transaction platform, and sending the service page to the client.
3. The page information management method according to claim 2, wherein the step of establishing an access login connection with a client and acquiring an identity ID of the client comprises:
receiving login information sent by a client, and judging whether the client has login authority or not according to the login information;
if the client has the login authority, establishing access login connection with the client and acquiring the identity ID in the login information;
if the client does not have the login authority, sending an unauthorized login message to the client;
judging whether a preset database has a vehicle identity set corresponding to the identity ID;
if so, acquiring the vehicle identity set;
and if not, sending a vehicle identity page to the client.
4. The page information management method according to claim 2, wherein the step of traversing whether the vehicle identity set has associated identity information consistent with the vehicle identity information comprises:
identifying properties of the vehicle identity information, the properties including text and images;
if the vehicle identity information is a text, setting the vehicle identity information as a reference text, and comparing the reference text with the associated identity information in the vehicle identity set one by one to obtain associated identity information consistent with the vehicle identity information;
if the vehicle identity information is an image, calling OCR equipment to identify text content in the vehicle identity information and set the text content as a reference text, and comparing the reference text with the associated identity information in the vehicle identity set one by one to obtain the associated identity information matched with the vehicle identity information.
5. The page information management method according to claim 2, wherein the step of obtaining the service page matched with the associated identity information from a preset transaction platform includes:
extracting the vehicle type and accessory information in the associated identity information, and loading the vehicle type and accessory information into a preset first dialog box to form a query dialog box;
sending the query dialog box to the client, and receiving confirmation information sent by the client according to the query dialog box;
and extracting the vehicle type and accessory information in the confirmation information, and inquiring the transaction platform by taking the vehicle type and the accessory information as inquiry keywords so as to obtain a service page matched with the associated identity information.
6. The page information management method according to claim 1, wherein the step of monitoring a change signal generated by the service page due to a change in the service information, and calling a snapshot component to make a data snapshot of the service page and the service information therein according to the change signal comprises:
creating a snapshot container according to the service page;
monitoring a change signal generated by modifying or increasing or decreasing the service information on the service page by the client;
calling a snapshot component to make a data snapshot on the current service page according to the change signal;
making a timestamp according to the time for making the data snapshot, and loading the timestamp into the data snapshot;
saving the data snapshot with the timestamp into the snapshot container;
encrypting the data snapshot in the snapshot container;
after encrypting the data snapshot in the snapshot container, the method further includes:
uploading the snapshot container into a blockchain.
7. The page information management method according to claim 1, wherein the step of sending the data snapshot to the client includes:
sending a recovery dialog box to the client;
receiving demand information input by the client in the recovery dialog box, wherein the content of the demand information comprises a recovery request and a cancel request;
if the content of the demand information is a recovery request, sending the data snapshot to the client;
and if the content of the demand information is a cancel request, sending the service page to the client.
8. A page information management apparatus characterized by comprising:
the snapshot making module is used for monitoring a change signal generated by a service page due to the change of service information in the service page and calling a snapshot component to make a data snapshot for the service page and the service information in the service page according to the change signal; the change of the service information refers to a situation that the service information in the service page is updated due to the fact that the client modifies or increases or decreases the service information on the service page;
the state monitoring module is used for monitoring the running state of the service page according to the data snapshot;
the clearing module is used for deleting the data snapshot when the operation state of the service page is monitored to be a completion state;
and the recovery module is used for sending the data snapshot to the client when the fault of the service page is monitored, and is used for generating the service page before the fault occurs.
9. A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the steps of the page information management method according to any one of claims 1 to 7 are implemented by the processor of the computer device when the computer program is executed by the processor.
10. A computer-readable storage medium on which a computer program is stored, the computer program stored in the computer-readable storage medium, when being executed by a processor, implementing the steps of the page information management method according to any one of claims 1 to 7.
CN202011583258.0A 2020-12-28 2020-12-28 Page information management method and device, computer equipment and readable storage medium Pending CN112749124A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011583258.0A CN112749124A (en) 2020-12-28 2020-12-28 Page information management method and device, computer equipment and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011583258.0A CN112749124A (en) 2020-12-28 2020-12-28 Page information management method and device, computer equipment and readable storage medium

Publications (1)

Publication Number Publication Date
CN112749124A true CN112749124A (en) 2021-05-04

Family

ID=75646603

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011583258.0A Pending CN112749124A (en) 2020-12-28 2020-12-28 Page information management method and device, computer equipment and readable storage medium

Country Status (1)

Country Link
CN (1) CN112749124A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114553898A (en) * 2022-01-28 2022-05-27 上海钧正网络科技有限公司 Distributed caching method, system, device, terminal and medium based on sidecar mode

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103136407A (en) * 2011-12-03 2013-06-05 南京南瑞继保电气有限公司 Method of achieving snapshot with electro-magnetic transient in DC system (EMTDC) simulation model based on data integrated access technique
CN105373448A (en) * 2015-10-27 2016-03-02 北京百度网讯科技有限公司 Method and system for recovering failure data in database
US9390180B1 (en) * 2008-09-04 2016-07-12 Amazon Technologies, Inc. Landing page selection for linked advertising
CN109492884A (en) * 2018-10-25 2019-03-19 平安科技(深圳)有限公司 Close rule risk information methods of exhibiting, device, computer equipment and storage medium
CN109543124A (en) * 2018-10-19 2019-03-29 中国平安人寿保险股份有限公司 A kind of page loading method, storage medium and server
US20190334761A1 (en) * 2018-04-27 2019-10-31 EMC IP Holding Company LLC Method and system for single web application recovery on a collaborative platform
US10649864B1 (en) * 2017-03-30 2020-05-12 Veritas Technologies Llc Framework to facilitate taking snapshots of web application on demand
CN111177616A (en) * 2019-12-11 2020-05-19 未鲲(上海)科技服务有限公司 Page restoration display method and device, computer equipment and storage medium
CN111459715A (en) * 2019-01-20 2020-07-28 华为技术有限公司 Application exception recovery
CN111552591A (en) * 2020-03-25 2020-08-18 中国平安财产保险股份有限公司 Page abnormity recovery method, device, equipment and computer readable storage medium

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9390180B1 (en) * 2008-09-04 2016-07-12 Amazon Technologies, Inc. Landing page selection for linked advertising
CN103136407A (en) * 2011-12-03 2013-06-05 南京南瑞继保电气有限公司 Method of achieving snapshot with electro-magnetic transient in DC system (EMTDC) simulation model based on data integrated access technique
CN105373448A (en) * 2015-10-27 2016-03-02 北京百度网讯科技有限公司 Method and system for recovering failure data in database
US10649864B1 (en) * 2017-03-30 2020-05-12 Veritas Technologies Llc Framework to facilitate taking snapshots of web application on demand
US20190334761A1 (en) * 2018-04-27 2019-10-31 EMC IP Holding Company LLC Method and system for single web application recovery on a collaborative platform
CN109543124A (en) * 2018-10-19 2019-03-29 中国平安人寿保险股份有限公司 A kind of page loading method, storage medium and server
CN109492884A (en) * 2018-10-25 2019-03-19 平安科技(深圳)有限公司 Close rule risk information methods of exhibiting, device, computer equipment and storage medium
CN111459715A (en) * 2019-01-20 2020-07-28 华为技术有限公司 Application exception recovery
CN111177616A (en) * 2019-12-11 2020-05-19 未鲲(上海)科技服务有限公司 Page restoration display method and device, computer equipment and storage medium
CN111552591A (en) * 2020-03-25 2020-08-18 中国平安财产保险股份有限公司 Page abnormity recovery method, device, equipment and computer readable storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
小布丁的读书笔记: "快照技术原理", Retrieved from the Internet <URL:https://blog.csdn.net/paxhujing/article/details/80255510> *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114553898A (en) * 2022-01-28 2022-05-27 上海钧正网络科技有限公司 Distributed caching method, system, device, terminal and medium based on sidecar mode

Similar Documents

Publication Publication Date Title
CN109558748B (en) Data processing method and device, electronic equipment and storage medium
US11151660B1 (en) Intelligent routing control
CN111274045B (en) Multi-platform docking method and device, computer equipment and readable storage medium
CN112527484B (en) Workflow breakpoint continuous running method and device, computer equipment and readable storage medium
CN101770669A (en) Bank automatic warning system and method thereof
CN102546253A (en) Webpage tamper-resistant method, system and management server
CN110543516A (en) Intelligent contract processing method and device, computer equipment and storage medium
CN109783781B (en) Image recognition-based policy entry method and related device
CN114915501B (en) Intrusion event detection method and device based on process behavior diagram and electronic equipment
CN112784298A (en) Log desensitization method and device, computer equipment and storage medium
CN109840469B (en) Image recognition-based policy entry method and related device
US10127329B2 (en) Processing large XML files by splitting and hierarchical ordering
CN112579958B (en) Webpage conversion method, webpage conversion device, computer equipment and readable storage medium
CN114637611A (en) Information processing method and device based on message queue and computer equipment
CN112749124A (en) Page information management method and device, computer equipment and readable storage medium
CN112528181B (en) Two-dimensional code management method, device, computer equipment and readable storage medium
CN112052141B (en) Data fragment verification method and device, computer equipment and readable storage medium
CN114036495A (en) Method and device for updating privatized deployment verification code system
CN112613913A (en) Transaction information management method and device, computer equipment and readable storage medium
CN115002062B (en) Message processing method, device, equipment and readable storage medium
CN113656466B (en) Policy data query method, device, equipment and storage medium
CN115794469A (en) Data asset processing method and device
CN115034717A (en) Method, device, equipment and computer readable medium for monitoring logistics menu
CN114416560A (en) Program crash analysis aggregation method and system
CN114416807A (en) Data merging method, device and system for customer account

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
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20210504