[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

CN112069137B - Method, device, electronic equipment and computer readable storage medium for generating information - Google Patents

Method, device, electronic equipment and computer readable storage medium for generating information Download PDF

Info

Publication number
CN112069137B
CN112069137B CN202010910134.2A CN202010910134A CN112069137B CN 112069137 B CN112069137 B CN 112069137B CN 202010910134 A CN202010910134 A CN 202010910134A CN 112069137 B CN112069137 B CN 112069137B
Authority
CN
China
Prior art keywords
information
white list
list information
newly added
version
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202010910134.2A
Other languages
Chinese (zh)
Other versions
CN112069137A (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.)
Apollo Intelligent Connectivity Beijing Technology Co Ltd
Original Assignee
Apollo Intelligent Connectivity Beijing 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 Apollo Intelligent Connectivity Beijing Technology Co Ltd filed Critical Apollo Intelligent Connectivity Beijing Technology Co Ltd
Priority to CN202010910134.2A priority Critical patent/CN112069137B/en
Publication of CN112069137A publication Critical patent/CN112069137A/en
Application granted granted Critical
Publication of CN112069137B publication Critical patent/CN112069137B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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/17Details of further file system functions
    • G06F16/1734Details of monitoring file system events, e.g. by the use of hooks, filter drivers, logs
    • 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/17Details of further file system functions
    • G06F16/178Techniques for file synchronisation in file systems

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The application discloses a method, a device, electronic equipment and a computer readable storage medium for generating information, and relates to the technical fields of computers, data processing, safety protection and data synchronization. The specific implementation scheme is as follows: and when the service request information is received, acquiring the white list information included in the service request information, generating a text log from the white list information in a preset period after each preset period, determining a plurality of versions of white list information lists based on the generated text log, and transmitting the newly added white list information to a to-be-synchronized terminal in response to the newly added white list information in the white list information lists so as to realize barrier-free dynamic acquisition of the white list information and timely synchronization of the newly added white list information to clients, thereby improving the accuracy and efficiency of white list information synchronization work.

Description

Method, device, electronic equipment and computer readable storage medium for generating information
Technical Field
The present application relates to the field of computer technologies, and in particular, to the fields of data processing technologies, security protection technologies, and data synchronization technologies, and in particular, to a method and apparatus for generating information, an electronic device, and a computer readable storage medium.
Background
In the application field of the internet of things, in the process of providing relevant network services for client-side internet of things enterprises, service provider enterprises need to synchronize related white list information to the client-side internet of things enterprises in time, so that clients can adjust strategies based on the white list information.
In the prior art, white list information is arranged based on a manual statistics mode and then is synchronized to a to-be-synchronized end, and when uncontrollable factors such as external white list information obtained by a third party exist, timely synchronization of the white list information cannot be achieved, and the efficiency of the manual statistics mode is quite low, so that the requirements of clients cannot be met.
Disclosure of Invention
The application provides a method, a device, electronic equipment and a storage medium for generating information.
In a first aspect, an embodiment of the present application provides a method for generating information, including: acquiring white list information included in service request information in response to receiving the service request information; generating a text log from the white list information in a preset period every interval, and generating a white list information list of a plurality of versions based on the white list information in the text log; and transmitting the newly added white list information to a to-be-synchronized terminal in response to determining that the newly added white list information exists in the white list information list.
In a second aspect, an embodiment of the present application provides an apparatus for generating information, including: an information acquisition unit configured to acquire white list information included in service request information in response to receiving the service request information; the system comprises a log generation unit, a log generation unit and a log generation unit, wherein the log generation unit is configured to generate a text log from white list information in a preset period every interval; a list generation unit configured to generate a plurality of versions of white list information list based on the white list information in the text log; and the information synchronization unit is configured to send the newly added white list information to the to-be-synchronized terminal in response to determining that the newly added white list information exists in the white list information list.
In a third aspect, an embodiment of the present application provides an electronic device, including: at least one processor; and a memory communicatively coupled to the at least one processor; wherein the memory stores instructions executable by the at least one processor to enable the at least one processor to perform a method of generating information as described in any one of the implementations of the first aspect.
In a fourth aspect, embodiments of the present application provide a non-transitory computer readable storage medium storing computer instructions comprising: the computer instructions are for causing the computer to perform the method of generating information as described in any of the implementations of the first aspect.
The application acquires the white list information included in the service request information when responding to the service request information, generates a text log from the white list information in the preset period after each preset period, determines a plurality of versions of white list information lists based on the generated text log, and transmits the newly added white list information to a to-be-synchronized terminal in response to the newly added white list information in the white list information list so as to realize the barrier-free dynamic acquisition of the white list information and timely synchronize the newly added white list to a client, thereby improving the accuracy and the efficiency of the white list information synchronization work.
It should be understood that the description in this section is not intended to identify key or critical features of the embodiments of the application or to delineate the scope of the application. Other features of the present application will become apparent from the description that follows.
Drawings
The drawings are included to provide a better understanding of the present application and are not to be construed as limiting the application. Wherein:
FIG. 1 is an exemplary system architecture in which embodiments of the present application may be applied;
FIG. 2 is a flow chart of one embodiment of a method of generating information according to the present application;
FIG. 3 is a flow chart of an implementation of one method of generating information to generate multiple versions of a whitelist information manifest in accordance with the present application;
FIG. 4 is a flow chart of one implementation of a method of generating information to send newly added whitelist information to a peer to be synchronized in accordance with the present application;
FIG. 5 is a schematic diagram illustrating the structure of one embodiment of an apparatus for generating information in accordance with the present application;
fig. 6 is a block diagram of an electronic device suitable for use in implementing the method of generating information of an embodiment of the application.
Detailed Description
Exemplary embodiments of the present application will now be described with reference to the accompanying drawings, in which various details of the embodiments of the present application are included to facilitate understanding, and are to be considered merely exemplary. Accordingly, those of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the application. Also, descriptions of well-known functions and constructions are omitted in the following description for clarity and conciseness.
It should be noted that, without conflict, the embodiments of the present application and features of the embodiments may be combined with each other. The application will be described in detail below with reference to the drawings in connection with embodiments.
FIG. 1 illustrates an exemplary system architecture 100 of an embodiment of a method, apparatus, electronic device, and computer readable storage medium to which the present application may be applied for generating information.
As shown in fig. 1, a system architecture 100 may include terminal devices 101, 102, 103, a network 104, and a server 105. The network 104 is used as a medium to provide communication links between the terminal devices 101, 102, 103 and the server 105. The network 104 may include various connection types, such as wired, wireless communication links, or fiber optic cables, among others.
The user may interact with the server 105 via the network 104 using the terminal devices 101, 102, 103 for the purpose of receiving whitelist information etc. Various applications requiring verification of white list information, such as shopping class applications, inquiry class applications, software download class applications, etc., may be installed on the terminal devices 101, 102, 103.
The terminal devices 101, 102, 103 may be hardware or software. In hardware, various electronic devices with display screens are possible, including but not limited to smartphones, tablet computers, laptop portable computers, desktop computers, and the like. When the terminal devices 101, 102, 103 are software, they can be installed in the above-listed electronic devices. Which may be implemented as multiple software or software modules (e.g., to enable generation of information, to receive a program to be delivered, etc.), or as a single software or software module. The present invention is not particularly limited herein.
The server 105 may be a server providing various services, such as a server providing white list information for the terminal devices 101, 102, 103. The server providing the white list information may acquire the white list information from the service request information and synchronize the white list information in the service request information to the terminals 101, 102, 103. For example, after receiving service request information, obtaining white list information included in the service request information, presetting a period at each interval, generating a text log from the white list information in the preset period, then generating white list information lists of multiple versions based on the white list information in the text log, and transmitting the newly added white list information to a terminal through a network 104 in response to determining that newly added white list information exists in the white list information list. It should be noted that, the method for generating information provided by the embodiment of the present application is generally performed by the server 105, and accordingly, the device for generating information is generally disposed in the server 105.
The server may be hardware or software. When the server is hardware, the server may be implemented as a distributed server cluster formed by a plurality of servers, or may be implemented as a single server. When the server is software, it may be implemented as a plurality of software or software modules, for example, for providing distributed services, or as a single software or software module. The present invention is not particularly limited herein.
In addition, the method of generating information may also be performed by the terminal devices 101, 102, 103, and correspondingly, the means for generating information may also be provided in the terminal devices 101, 102, 103. At this point, the exemplary system architecture 100 may also not include the server 105 and the network 104.
It should be understood that the number of terminal devices, networks and servers in fig. 1 is merely illustrative. There may be any number of terminal devices, networks, and servers, as desired for implementation.
With continued reference to FIG. 2, one embodiment of a method 200 of generating information in accordance with the present application is shown. The method for generating information comprises the following steps:
in step 201, in response to receiving the service request information, white list information included in the service request information is acquired.
In this embodiment, the execution subject of the method for generating information (e.g., the server 105 shown in fig. 1) may obtain the service request information from a local or non-local man-machine interaction device (e.g., the terminal devices 101, 102, 103 shown in fig. 1), which is not limited in the present application.
It should be understood that the end to be synchronized is usually a provider of the service, so the service request information is usually sent out from a main body other than the end to be synchronized, and although the service request information may be acquired based on an execution main body of the method for generating information, the service information may also be acquired from an execution main body of the method for generating information and a main body other than the end to be synchronized, in order to better achieve the object of the present application, that is, to acquire the service request information from multiple channels, white list information is expanded for the end to be synchronized as much as possible, so as to improve the service quality, and preferably, the service information is acquired from the execution main body of the method for generating information and the main body other than the end to be synchronized.
After the execution subject of the method of generating information receives the service request information, the whitelist information in the service request information may be acquired based on a special field for marking the whitelist information or a file (e.g., a key file, a license file, a registry, etc.) for use as the whitelist information in the service request information.
In some optional implementations of the present embodiment, obtaining the whitelist information included in the service request information includes: adding buried point information in advance for white list information in service request information; white list information is obtained based on the buried point information.
Specifically, when service request information is received, embedding point information is added according to white list information content used in the service request information, so that embedding point work is completed, namely, the white list information content is written in a resource server disk in the form of text logs, and when the service request information is acquired, the corresponding white list information is acquired directly based on the added embedding point information, so that the efficiency of acquiring the white list information is improved.
Step 202, generating a text log from the white list information in a preset period every interval of the preset period.
In this embodiment, after the white list information is acquired in step 201, the white list information collected in the preset period is generated into the text log every preset period, where the preset period is usually determined based on time, or may be set based on the number of acquired white list information or the number of received service request information.
Preferably, the preset period is determined based on the interval time, that is, when the time period of generating the text log every two times meets the predetermined threshold requirement, the corresponding text log is generated from the white list information received in the period of time.
Step 203, based on the white list information in the text log, a white list information list of multiple versions is generated.
In this embodiment, after a plurality of text logs are obtained, a new version of white list information list may be generated corresponding to each text log according to the situation of text log generation, so as to realize comprehensive recording of white list information in each text log.
And step 204, in response to determining that newly added white list information exists in the white list information list, the newly added white list information is sent to the to-be-synchronized terminal.
In this embodiment, when it is determined that newly added white list information exists in the white list information list of at least one version in the step 203, the newly added white list information is sent to the to-be-synchronized terminal, so as to achieve the purpose of providing the newly added white list information for the to-be-synchronized terminal in the present application.
It should be understood that, although the logic for determining the different versions of the white list information list in step 203 is different, the white list information list of the different versions will generally be generated gradually according to the time sequence, that is, after the white list information list of the first version is generated, the white list information list of the corresponding second version is generated when the condition is satisfied, and so on to generate the white list information list of the third version, the fourth version, and so on.
In this process, when the white list information list of the second version is generated, the white list information list of the second version is compared with the white list information list of the first version, if the white list information list of the second version is found to be more newly added than the white list information list of the first version, the white list information list is extracted, and the newly added white list information is sent to the to-be-synchronized end.
According to the method for generating information provided by the embodiment of the application, when the service request information is received, the white list information included in the service request information is acquired, after each preset period, the white list information in the preset period is generated into the text log, a plurality of versions of white list information lists are determined based on the generated text log, and the newly added white list information is sent to the to-be-synchronized terminal in response to the newly added white list information in the white list information list, so that the white list information is acquired dynamically without barriers, and the newly added white list is synchronized to a client in time, so that the accuracy and the efficiency of the white list information synchronization work are improved.
In some optional implementations of the present embodiment, generating the plurality of versions of the whitelist information manifest based on the whitelist information in the text log includes: in response to determining that the newly added whitelist information exists in the text log, a whitelist information manifest of a next version is generated.
Specifically, for convenience of explanation, a process 300 of generating a plurality of versions of a whitelist information list is provided by fig. 3, to provide an implementation manner of generating a plurality of versions of a whitelist information list, which includes the following steps:
step 301, a white list information list of a first version is generated and stored based on the current text log.
And step 302, in response to determining that the period of the interval meets a preset condition, acquiring the generated text log, and generating a white list information list of the second version.
Step 303, determining whether newly added white list information exists in the white list information list of the second version relative to the white list information list of the first version.
Step 304, in response to determining that newly added white list information exists in the white list information list of the second version, the white list information list of the second version is saved.
In step 305, the white list information list of the second version is deleted in response to determining that the newly added white list information does not exist in the white list information list of the second version.
It should be understood that the first and second versions in this implementation are merely exemplary descriptions illustrating different generation orders, and that the whitelist information list of the multiple versions may be generated later according to the different generation orders.
In the implementation manner, by comparing the white list information list of the first version and the white list information list of the second version generated based on the text log, when newly added white list information exists, the white list information list of the second version is saved, namely the updating of the white list information list of the first version is completed, the generation of the white list information lists of different versions of repeated content is reduced, the storage space is saved, and the overall efficiency is improved.
Based on the above embodiment, the present application further provides a flow 400 of another method for generating information through fig. 4, to illustrate an implementation manner of sending newly added white list information to a to-be-synchronized end in the above embodiment of fig. 2, including the following steps:
step 401, obtaining a current state of a terminal to be synchronized.
Specifically, the current state includes a newly added whitelist information receivable state and a newly added whitelist information non-receivable state.
Step 402, in response to determining that the current state of the to-be-synchronized terminal is a state in which the newly added whitelist information can be received, providing an information interface to the to-be-synchronized terminal, and directly performing step 405.
Step 403, in response to determining that the current state of the to-be-synchronized terminal is the state in which the newly added white list information cannot be received, sending a synchronization request to the to-be-synchronized terminal.
Step 404, in response to receiving the request for obtaining the newly added white list information sent by the to-be-synchronized terminal based on the synchronization request, an information interface is provided to the to-be-synchronized terminal, and step 405 is executed.
Specifically, after the to-be-synchronized end receives the synchronization request sent in the step 403, if the to-be-synchronized end desires to receive the newly added whitelist information, a newly added whitelist information request is sent to the executing body of the method for generating information based on the synchronization request, where the newly added whitelist information request includes version information of the corresponding whitelist, so that the executing body of the method for generating information finds the corresponding newly added whitelist information according to the version information of the whitelist.
Step 405, send the newly added whitelist information to the to-be-synchronized end using the information interface.
In the implementation manner, whether the newly added white list information can be sent to the to-be-synchronized end at present is judged by acquiring the current state of the to-be-synchronized end, if so, an information interface is provided for the to-be-synchronized end, so that the newly added white list information can be automatically sent in real time and dynamically, and the flow efficiency is improved; when the synchronous request is not directly sent, a synchronous request is sent to the to-be-synchronized terminal, after a new white list information request including the version information of the white list sent back by the to-be-synchronized terminal based on the synchronous request is responded, the new white list information is quickly determined based on the version information of the white list, and an information interface is provided for the to-be-synchronized terminal so as to realize more humanized service, meet more requirements of users, and simultaneously quickly finish white list information synchronous work based on the version information.
For deepening understanding, the application also provides a specific implementation scheme in combination with a specific application scene. In this specific application scenario, the service request information a includes white list information a, B, and the service request information B includes white list information a, B, c, and the interval preset period is 5 minutes.
The execution subject of the method for generating information generates a text log 1 based on the white list information a, B included in the service request information a when the service request information a is acquired, then determines that the white list information a, B, c is included therein when the execution subject acquires the service request information B, and generates a text log 2 after 5 minutes of generating the text japan 1, that is, after satisfying the interval preset period of 5 minutes.
The execution main body of the method for generating information generates a first version of white list information list based on the text log 1, generates a second version of white list information list based on the text log 2, discovers that newly added white list information c exists by comparing the two versions of white list information lists, and stores the white list information lists of the first version and the second version.
The method comprises the steps of obtaining the current state of a to-be-synchronized terminal, determining that the current state of the to-be-synchronized terminal is the state of unreceivable newly added white list information, and sending a synchronization request to the to-be-synchronized terminal.
And responding to the receiving of the request for acquiring the newly added white list information sent by the to-be-synchronized terminal based on the synchronization request, wherein the version information of the white list included in the newly added white list information request is a white list of a second version, then providing an information interface for the to-be-synchronized terminal, and sending newly added white list information c to the to-be-synchronized terminal through the information interface.
According to the method for generating the information, when the service request information is received, the white list information included in the service request information is acquired, after each preset period is set, the white list information in the preset period is generated into a text log, white list information lists of multiple versions are determined based on the generated text log, and the newly added white list information is sent to a to-be-synchronized end in response to the newly added white list information in the white list information list, so that the white list information is acquired dynamically without barriers, and the newly added white list information is synchronized to clients in time, and the accuracy and the efficiency of white list information synchronization work are improved.
As shown in fig. 5, the apparatus 500 for generating information of the present embodiment may include: an information acquisition unit 501 configured to acquire white list information included in service request information in response to receiving the service request information; a log generating unit 502 configured to generate a text log from the white list information within a preset period every interval of the preset period; a list generating unit 503 configured to generate a plurality of versions of white list information list based on the white list information in the text log; an information synchronization unit 504 is configured to send the newly added white list information to the to-be-synchronized end in response to determining that the newly added white list information exists in the white list information list.
In some optional implementations of this embodiment, the sending, in the information synchronization unit 504, the newly added whitelist information to the to-be-synchronized end includes: providing an information interface for the to-be-synchronized terminal in response to determining that the current state of the to-be-synchronized terminal is a state capable of receiving the newly added white list information; and sending the newly added white list information to the to-be-synchronized terminal by using the information interface.
In some optional implementations of this embodiment, the sending, in the information synchronization unit 504, the newly added whitelist information to the to-be-synchronized end includes: responding to the current state of the to-be-synchronized terminal to be an unreceivable state of the newly added white list information, and sending a synchronization request to the to-be-synchronized terminal; responding to the receiving of the request for acquiring the newly added white list information sent by the to-be-synchronized terminal based on the synchronization request, and providing an information interface for the to-be-synchronized terminal; wherein, the newly added white list information request comprises version information corresponding to the white list; and sending the newly added white list information to the to-be-synchronized terminal by using the information interface.
In some optional implementations of this embodiment, generating the white list information list of the plurality of versions based on the white list information in the text log in the list generating unit 503 includes: in response to determining that the newly added whitelist information exists in the text log, a next version of the whitelist information list is generated.
In some optional implementations of the present embodiment, the acquiring the white list information included in the service request information in the acquiring unit 501 includes: adding buried point information in the service request information in advance for the white list information; and acquiring the white list information based on the buried point information.
The present embodiment exists as an apparatus embodiment corresponding to the above method embodiment, and the same references are made to the description of the above method embodiment, which is not repeated. The device for generating information provided by the embodiment of the application can dynamically acquire the white list information without barriers, and synchronize the newly added white list to the client in time so as to improve the accuracy and efficiency of the white list information synchronous work.
According to an embodiment of the present application, the present application also provides an electronic device and a readable storage medium.
As shown in fig. 6, there is a block diagram of an electronic device of a method of generating information according to an embodiment of the present application. Electronic devices are intended to represent various forms of digital computers, such as laptops, desktops, workstations, personal digital assistants, servers, blade servers, mainframes, and other appropriate computers. The electronic device may also represent various forms of mobile devices, such as personal digital processing, cellular telephones, smartphones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions, are meant to be exemplary only, and are not meant to limit implementations of the applications described and/or claimed herein.
As shown in fig. 6, the electronic device includes: one or more processors 601, memory 602, and interfaces for connecting the components, including high-speed interfaces and low-speed interfaces. The various components are interconnected using different buses and may be mounted on a common motherboard or in other manners as desired. The processor may process instructions executing within the electronic device, including instructions stored in or on memory to display graphical information of the GUI on an external input/output device, such as a display device coupled to the interface. In other embodiments, multiple processors and/or multiple buses may be used, if desired, along with multiple memories and multiple memories. Also, multiple electronic devices may be connected, each providing a portion of the necessary operations (e.g., as a server array, a set of blade servers, or a multiprocessor system). One processor 601 is illustrated in fig. 6.
The memory 602 is a non-transitory computer readable storage medium provided by the present application. Wherein the memory stores instructions executable by the at least one processor to cause the at least one processor to perform the method of generating information provided by the present application. The non-transitory computer readable storage medium of the present application stores computer instructions for causing a computer to execute the method of generating information provided by the present application.
The memory 602 is a non-transitory computer readable storage medium, and may be used to store a non-transitory software program, a non-transitory computer executable program, and modules, such as program instructions/modules (e.g., the information acquisition unit 501, the log generation unit 502, the manifest generation unit 503, and the information synchronization unit 504 shown in fig. 5) corresponding to the method of generating information in the embodiment of the present application. The processor 601 executes various functional applications of the server and data processing, i.e., implements the method of generating information in the above-described method embodiments, by running non-transitory software programs, instructions, and modules stored in the memory 602.
The memory 602 may include a storage program area and a storage data area, wherein the storage program area may store an operating system, at least one application program required for a function; the storage data area may store data created according to the use of the electronic device generating the information, and the like. In addition, the memory 602 may include high-speed random access memory, and may also include non-transitory memory, such as at least one magnetic disk storage device, flash memory device, or other non-transitory solid-state storage device. In some embodiments, memory 602 may optionally include memory located remotely from processor 601, such remote memory being connectable through a network to the electronic device generating the information. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The electronic device of the method of generating information may further include: an input device 603 and an output device 604. The processor 601, memory 602, input device 603 and output device 604 may be connected by a bus or otherwise, for example in fig. 6.
The input device 603 may receive input numeric or character information and generate key signal inputs related to user settings and function control of the electronic device generating the information, such as a touch screen, keypad, mouse, trackpad, touchpad, pointer stick, one or more mouse buttons, trackball, joystick, and like input devices. The output means 604 may include a display device, auxiliary lighting means (e.g., LEDs), tactile feedback means (e.g., vibration motors), and the like. The display device may include, but is not limited to, a Liquid Crystal Display (LCD), a Light Emitting Diode (LED) display, and a plasma display. In some implementations, the display device may be a touch screen.
Various implementations of the systems and techniques described here can be realized in digital electronic circuitry, integrated circuitry, application specific ASIC (application specific integrated circuit), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include: implemented in one or more computer programs that are executable and/or interpretable on a programmable system including at least one programmable processor, which may be a special or general purpose programmable processor, operable to receive data and instructions from, and to transmit data and instructions to, a storage system, at least one input device, and at least one output device.
These computing programs (also referred to as programs, software applications, or code) include machine instructions for a programmable processor, and may be implemented in a high-level procedural and/or object-oriented programming language, and/or in assembly/machine language. As used herein, the terms "machine-readable medium" and "computer-readable medium" refer to any computer program product, apparatus, and/or device (e.g., magnetic discs, optical disks, memory, programmable Logic Devices (PLDs)) used to provide machine instructions and/or data to a programmable processor, including a machine-readable medium that receives machine instructions as a machine-readable signal. The term "machine-readable signal" refers to any signal used to provide machine instructions and/or data to a programmable processor.
To provide for interaction with a user, the systems and techniques described here can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to a user; and a keyboard and pointing device (e.g., a mouse or trackball) by which a user can provide input to the computer. Other kinds of devices may also be used to provide for interaction with a user; for example, feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form, including acoustic input, speech input, or tactile input.
The systems and techniques described here can be implemented in a computing system that includes a background component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front-end component (e.g., a user computer having a graphical user interface or a web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such background, middleware, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: local Area Networks (LANs), wide Area Networks (WANs), and the internet.
The computer system may include a client and a server. The client and server are typically remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other.
According to the technical scheme of the embodiment of the application, when the service request information is received, the white list information included in the service request information is acquired, after each preset period, the white list information in the preset period is generated into a text log, a plurality of versions of white list information lists are determined based on the generated text log, and the newly added white list information is sent to a to-be-synchronized end in response to the newly added white list information in the white list information list, so that the white list information is dynamically acquired without barriers, and the newly added white list information is synchronized to a client in time, thereby improving the accuracy and efficiency of the white list information synchronization work.
It should be appreciated that various forms of the flows shown above may be used to reorder, add, or delete steps. For example, the steps described in the present application may be performed in parallel, sequentially, or in a different order, so long as the desired results of the technical solution disclosed in the present application can be achieved, and are not limited herein.
The above embodiments do not limit the scope of the present application. It will be apparent to those skilled in the art that various modifications, combinations, sub-combinations and alternatives are possible, depending on design requirements and other factors. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present application should be included in the scope of the present application.

Claims (9)

1. A method of generating information, comprising:
In response to receiving service request information, pre-adding buried point information for white list information in the service request information; acquiring the white list information based on the buried point information;
Generating a text log from the white list information in a preset period every interval;
generating a first version of white list information list based on the current text log and storing the white list information list; responding to the period of the determined interval meeting the preset condition, acquiring the generated text log, and generating a white list information list of a second version; judging whether newly added white list information exists in the white list information list of the second version relative to the white list information list of the first version;
Storing the white list information list of the second version in response to determining that the newly added white list information exists in the white list information list of the second version; the newly added white list information is sent to a to-be-synchronized end; or (b)
And deleting the white list information list of the second version in response to determining that the newly added white list information does not exist in the white list information list of the second version.
2. The method of claim 1, wherein the sending the newly added whitelist information to a to-be-synchronized end comprises:
providing an information interface for the to-be-synchronized terminal in response to determining that the current state of the to-be-synchronized terminal is a state capable of receiving the newly added white list information;
And sending the newly added white list information to the to-be-synchronized terminal by using the information interface.
3. The method of claim 1, wherein the sending the newly added whitelist information to a to-be-synchronized end comprises:
responding to the current state of the to-be-synchronized terminal to be an unreceivable state of the newly added white list information, and sending a synchronization request to the to-be-synchronized terminal;
Responding to the receiving of the request for acquiring the newly added white list information sent by the to-be-synchronized terminal based on the synchronization request, and providing an information interface for the to-be-synchronized terminal; wherein, the newly added white list information request comprises version information corresponding to the white list;
And sending the newly added white list information to the to-be-synchronized terminal by using the information interface.
4. An apparatus for generating information, comprising:
An information acquisition unit configured to add buried point information in advance for white list information in response to receiving service request information; acquiring the white list information based on the buried point information;
a log generating unit configured to generate a text log from white list information within a preset period every interval of the preset period;
a list generation unit configured to generate and save a white list information list of the first version based on the current text log; responding to the period of the determined interval meeting the preset condition, acquiring the generated text log, and generating a white list information list of a second version; judging whether newly added white list information exists in the white list information list of the second version relative to the white list information list of the first version; storing the white list information list of the second version in response to determining that the newly added white list information exists in the white list information list of the second version, or deleting the white list information list of the second version in response to determining that the newly added white list information does not exist in the white list information list of the second version;
And the information synchronization unit is configured to send the newly added white list information to a to-be-synchronized terminal in response to determining that the newly added white list information exists in the white list information list.
5. The apparatus of claim 4, wherein the sending the newly added whitelist information to a to-be-synchronized end in the information synchronization unit comprises:
providing an information interface for the to-be-synchronized terminal in response to determining that the current state of the to-be-synchronized terminal is a state capable of receiving the newly added white list information;
And sending the newly added white list information to the to-be-synchronized terminal by using the information interface.
6. The apparatus of claim 4, wherein the sending the newly added whitelist information to a to-be-synchronized end in the information synchronization unit comprises:
responding to the current state of the to-be-synchronized terminal to be an unreceivable state of the newly added white list information, and sending a synchronization request to the to-be-synchronized terminal;
Responding to the receiving of the request for acquiring the newly added white list information sent by the to-be-synchronized terminal based on the synchronization request, and providing an information interface for the to-be-synchronized terminal; wherein, the newly added white list information request comprises version information corresponding to the white list;
And sending the newly added white list information to the to-be-synchronized terminal by using the information interface.
7. An electronic device, comprising:
at least one processor; and
A memory communicatively coupled to the at least one processor; wherein the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method of any one of claims 1-3.
8. A non-transitory computer-readable storage medium storing computer instructions comprising: the computer instructions for causing the computer to perform the method of any one of claims 1-3.
9. A computer program product comprising a computer program which, when executed by a processor, implements the method according to any of claims 1-3.
CN202010910134.2A 2020-09-02 2020-09-02 Method, device, electronic equipment and computer readable storage medium for generating information Active CN112069137B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010910134.2A CN112069137B (en) 2020-09-02 2020-09-02 Method, device, electronic equipment and computer readable storage medium for generating information

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010910134.2A CN112069137B (en) 2020-09-02 2020-09-02 Method, device, electronic equipment and computer readable storage medium for generating information

Publications (2)

Publication Number Publication Date
CN112069137A CN112069137A (en) 2020-12-11
CN112069137B true CN112069137B (en) 2024-05-17

Family

ID=73666311

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010910134.2A Active CN112069137B (en) 2020-09-02 2020-09-02 Method, device, electronic equipment and computer readable storage medium for generating information

Country Status (1)

Country Link
CN (1) CN112069137B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113542451B (en) * 2021-07-30 2023-11-03 阿波罗智联(北京)科技有限公司 Information processing method, device, equipment and storage medium
CN115150197B (en) * 2022-08-31 2022-11-15 深顶科技(北京)有限公司 Method and system for preventing command attack of UPS (uninterrupted Power supply) air conditioning equipment

Citations (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20090014507A (en) * 2007-08-06 2009-02-11 (주)이스트소프트 System for verifying ip address of web-site and method thereof
KR101277623B1 (en) * 2012-01-27 2013-06-21 주식회사 안랩 White list synchronization server and client device
US8584216B1 (en) * 2012-03-15 2013-11-12 Symantec Corporation Systems and methods for efficiently deploying updates within a cryptographic-key management system
CN105183504A (en) * 2015-08-12 2015-12-23 北京威努特技术有限公司 Software server based process white-list updating method
CN105787709A (en) * 2016-03-24 2016-07-20 深圳竹云科技有限公司 Method of synchronizing multiple system accounts
JP2016171449A (en) * 2015-03-12 2016-09-23 株式会社東芝 White list creation system
CN106250476A (en) * 2016-07-29 2016-12-21 努比亚技术有限公司 A kind of methods, devices and systems updated and synchronize white list
JP2017083947A (en) * 2015-10-23 2017-05-18 日本電信電話株式会社 White list creation device, white list creation method and white list creation program
WO2017211205A1 (en) * 2016-06-07 2017-12-14 华为技术有限公司 Method and device for updating whitelist
CN108763062A (en) * 2018-05-09 2018-11-06 平安普惠企业管理有限公司 Bury the filter method and terminal device of a title
WO2019052433A1 (en) * 2017-09-15 2019-03-21 Oppo广东移动通信有限公司 Image processing method, mobile terminal and computer-readable storage medium
WO2019091324A1 (en) * 2017-11-07 2019-05-16 阿里巴巴集团控股有限公司 Data synchronization method and device, and electronic device
CN109842691A (en) * 2017-11-24 2019-06-04 中兴通讯股份有限公司 The domain name synchronous method and relevant device of Cache system and dns server
CN110783000A (en) * 2019-10-28 2020-02-11 四川大学华西医院 Cloud collaborative medical data system and use method thereof
CN110874433A (en) * 2018-08-30 2020-03-10 北京京东尚科信息技术有限公司 Information processing method and system, computer system and computer readable medium
CN110889112A (en) * 2019-10-23 2020-03-17 中国航天系统科学与工程研究院 Software operation unified control system and method based on white list mechanism
CN111309585A (en) * 2018-12-12 2020-06-19 北京京东尚科信息技术有限公司 Log data testing method, device and system, electronic equipment and storage medium
CN111552735A (en) * 2020-03-27 2020-08-18 深圳壹账通智能科技有限公司 Data link-based data synchronization method, apparatus, computer device and medium
CN111556021A (en) * 2020-03-30 2020-08-18 宇龙计算机通信科技(深圳)有限公司 Data transmission method, device, storage medium and related equipment

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8214895B2 (en) * 2007-09-26 2012-07-03 Microsoft Corporation Whitelist and blacklist identification data
US8856305B2 (en) * 2012-07-11 2014-10-07 Verisign, Inc. System and method for adding a whitelist entry via DNS
US9330027B2 (en) * 2013-03-15 2016-05-03 Intel Corporation Register access white listing
US10397319B2 (en) * 2015-11-24 2019-08-27 Dropbox, Inc. Server-side selective synchronization
WO2018172818A1 (en) * 2017-03-23 2018-09-27 Pismo Labs Technology Ltd. Method and system for restricting transmission of data traffic for devices with networking capabilities

Patent Citations (20)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20090014507A (en) * 2007-08-06 2009-02-11 (주)이스트소프트 System for verifying ip address of web-site and method thereof
KR101277623B1 (en) * 2012-01-27 2013-06-21 주식회사 안랩 White list synchronization server and client device
WO2013111949A1 (en) * 2012-01-27 2013-08-01 주식회사 안랩 Whitelist synchronization server and client apparatus
US8584216B1 (en) * 2012-03-15 2013-11-12 Symantec Corporation Systems and methods for efficiently deploying updates within a cryptographic-key management system
JP2016171449A (en) * 2015-03-12 2016-09-23 株式会社東芝 White list creation system
CN105183504A (en) * 2015-08-12 2015-12-23 北京威努特技术有限公司 Software server based process white-list updating method
JP2017083947A (en) * 2015-10-23 2017-05-18 日本電信電話株式会社 White list creation device, white list creation method and white list creation program
CN105787709A (en) * 2016-03-24 2016-07-20 深圳竹云科技有限公司 Method of synchronizing multiple system accounts
WO2017211205A1 (en) * 2016-06-07 2017-12-14 华为技术有限公司 Method and device for updating whitelist
CN106250476A (en) * 2016-07-29 2016-12-21 努比亚技术有限公司 A kind of methods, devices and systems updated and synchronize white list
WO2019052433A1 (en) * 2017-09-15 2019-03-21 Oppo广东移动通信有限公司 Image processing method, mobile terminal and computer-readable storage medium
WO2019091324A1 (en) * 2017-11-07 2019-05-16 阿里巴巴集团控股有限公司 Data synchronization method and device, and electronic device
CN109842691A (en) * 2017-11-24 2019-06-04 中兴通讯股份有限公司 The domain name synchronous method and relevant device of Cache system and dns server
CN108763062A (en) * 2018-05-09 2018-11-06 平安普惠企业管理有限公司 Bury the filter method and terminal device of a title
CN110874433A (en) * 2018-08-30 2020-03-10 北京京东尚科信息技术有限公司 Information processing method and system, computer system and computer readable medium
CN111309585A (en) * 2018-12-12 2020-06-19 北京京东尚科信息技术有限公司 Log data testing method, device and system, electronic equipment and storage medium
CN110889112A (en) * 2019-10-23 2020-03-17 中国航天系统科学与工程研究院 Software operation unified control system and method based on white list mechanism
CN110783000A (en) * 2019-10-28 2020-02-11 四川大学华西医院 Cloud collaborative medical data system and use method thereof
CN111552735A (en) * 2020-03-27 2020-08-18 深圳壹账通智能科技有限公司 Data link-based data synchronization method, apparatus, computer device and medium
CN111556021A (en) * 2020-03-30 2020-08-18 宇龙计算机通信科技(深圳)有限公司 Data transmission method, device, storage medium and related equipment

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
白名单主动防御系统的设计与实现;汪锋;周大水;;计算机工程与设计;20110716(第07期);33-36+105 *

Also Published As

Publication number Publication date
CN112069137A (en) 2020-12-11

Similar Documents

Publication Publication Date Title
CN112860451A (en) Multi-tenant data processing method and device based on SaaS
CN110233742B (en) Group establishing method, system, terminal and server
CN111277647B (en) Block chain network member management method, device, equipment and medium
CN110865855A (en) Applet processing method and related device
CN110765744A (en) Multi-person collaborative document editing method and system
CN110727434B (en) Rendering method, rendering device, electronic equipment and storage medium
CN112433788A (en) Applet running method and device, electronic equipment and storage medium
US11831735B2 (en) Method and device for processing mini program data
CN112069137B (en) Method, device, electronic equipment and computer readable storage medium for generating information
CN111552934A (en) Database access method and device
US20210216212A1 (en) Method and apparatus for processing data
CN112311597B (en) Message pushing method and device
CN111770176B (en) Traffic scheduling method and device
CN110545324B (en) Data processing method, device, system, network equipment and storage medium
CN110795328A (en) Interface testing method and device
CN111966877B (en) Front-end service method, device, equipment and storage medium
CN112559867A (en) Business content output method, device, equipment, storage medium and program product
WO2023169193A1 (en) Method and device for generating smart contract
CN111767149A (en) Scheduling method, device, equipment and storage equipment
CN112507100B (en) Update processing method and device of question-answering system
CN111835857B (en) Method and apparatus for accessing data
CN111432011B (en) Block chain network communication method and equipment
CN111177558B (en) Channel service construction method and device
CN110609671B (en) Sound signal enhancement method, device, electronic equipment and storage medium
CN108933724A (en) A kind of information sharing method and system, terminal and server

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
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20211012

Address after: 100176 101, floor 1, building 1, yard 7, Ruihe West 2nd Road, Beijing Economic and Technological Development Zone, Daxing District, Beijing

Applicant after: Apollo Intelligent Connectivity (Beijing) Technology Co., Ltd.

Address before: 2 / F, baidu building, 10 Shangdi 10th Street, Haidian District, Beijing 100085

Applicant before: BEIJING BAIDU NETCOM SCIENCE AND TECHNOLOGY Co.,Ltd.

GR01 Patent grant
GR01 Patent grant