News information display method and device, electronic equipment and product
Through the adjustment of communication and domain name service mapping strategies between the emergency response content management system and the main content management system, the problem of difficult to quickly adjust the news app information display strategy in the existing technology is solved, and flexible and controllable news information display in different emergency scenarios is achieved, ensuring content security and user experience.
Patent Information
- Application Number
- CN202411717483.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-27
- Publication Date
- 2025-04-11
Smart Images

Figure CN119807560A_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the field of computer information technology, and specifically relates to a news information display method, device, electronic equipment and product. Background Art
[0002] With the rapid development of mobile Internet, news apps have become an important channel for the public to obtain instant information, especially official media news apps, which have a wide user base, authoritative sources of information and a wide range of influence. The content published is directly related to the direction of public opinion and the formation of public cognition, so the content security is particularly important. However, with the increasing sophistication of network attack technology, news content faces network attack threats from all sides during transmission and display, including but not limited to DDoS (Distributed Denial of Service) attacks, SQL (Structured Query Language) injections, and malware implants. These attack methods may not only cause service interruptions, but may also maliciously tamper with news content, spread rumors, false information or harmful content. These behaviors not only damage the authenticity and credibility of news, but are also likely to cause social panic and undermine social stability.
[0003] Therefore, when faced with sudden content security incidents or system anomalies, how to quickly and effectively adjust the APP news information display strategy to ensure content security while providing users with a friendly experience has become an urgent problem to be solved.
[0004] The emergency response mechanism in the prior art usually adopts a one-click shutdown of the website and the blocking of some news publishing sources to cut off the user access path. However, the prior art lacks a specific control method for the display of news app information, and it is difficult to meet the information presentation requirements in different emergency scenarios, and it is impossible to spread important news content when the system is maliciously damaged or the content is tampered with. At the same time, the control strategy for the display of news app information under the emergency response strategy of the prior art is relatively simple, lacking flexibility and scalability, and cannot meet the personalized news information display requirements in emergency scenarios. Summary of the invention
[0005] The present invention aims to solve the above technical problems at least to a certain extent, and provides a news information display method, device, electronic equipment and product.
[0006] In order to achieve the above object, the present invention adopts the following technical solutions: In a first aspect, the present invention provides a news information display method, which is executed based on an emergency response content management system that is in communication with a main content management system, and the method comprises: Receiving news information pushed by the main content management system, and verifying the news information, so as to store the news information after the news information passes the verification; Obtaining an emergency response type, and modifying a domain name service mapping strategy according to the emergency response type; Receiving a data access request sent by a user terminal, and returning specified data to the user terminal according to the domain name service mapping policy; Wherein, the emergency response type includes a normal response state and an emergency response state, and correspondingly, the domain name service mapping strategy includes a normal response domain name service mapping strategy matching the normal response state and an emergency response domain name service mapping strategy matching the emergency response state; When the domain name service mapping strategy is a normal response domain name service mapping strategy, the specified data returned to the user terminal is the specified news information pulled from the main content management system; When the domain name service mapping strategy is an emergency response domain name service mapping strategy, the designated data returned to the user terminal is designated news information or preset static data pulled from the emergency response content management system.
[0007] In a possible design, the news information includes encrypted news information obtained by encrypting the initial news information by the main content management system and an initial verification value set to match the encrypted news information; correspondingly, the news information is verified to be stored after the news information passes the verification, including: Calculating a check value for the encrypted news information in the news information to obtain a new check value; Compare the new check value with the initial check value in the news information, if the new check value is consistent with the initial check value, proceed to the next step; if the new check value is inconsistent with the initial check value, discard the news information; The encrypted news information is decrypted to obtain initial news information matching the encrypted news information, and the initial news information is stored.
[0008] In a possible design, the initial news information is news information bound with an original release mark in the main content management system.
[0009] In a possible design, the emergency response status includes a first-level emergency response status and a second-level emergency response status; correspondingly, the emergency response domain name service mapping strategy includes a first-level response domain name service mapping strategy matching the first-level emergency response status and a second-level response domain name service mapping strategy matching the second-level emergency response status; When the domain name service mapping strategy is a first-level response domain name service mapping strategy, the specified data returned to the user terminal is the specified news information or preset static data pulled from the emergency response content management system; When the domain name service mapping strategy is a secondary response domain name service mapping strategy, the designated data returned to the user terminal is preset static data.
[0010] In a possible design, if the user terminal is an App terminal, when the domain name service mapping strategy is a normal response domain name service mapping strategy, the specified data returned to the user terminal is the specified news information pulled from the main content management system; When the domain name service mapping strategy is a first-level response domain name service mapping strategy, the specified data returned to the user terminal is the specified news information pulled from the emergency response content management system; When the domain name service mapping strategy is a secondary response domain name service mapping strategy, the designated data returned to the user terminal is preset static data.
[0011] In a possible design, if the user terminal is a Wap terminal or a Web terminal, when the domain name service mapping strategy is a normal response domain name service mapping strategy, the specified data returned to the user terminal is the specified news information pulled from the main content management system; When the domain name service mapping strategy is a first-level response domain name service mapping strategy, the specified data returned to the user terminal is the specified news information or preset static data pulled from the emergency response content management system; When the domain name service mapping strategy is a secondary response domain name service mapping strategy, the designated data returned to the user terminal is preset static data.
[0012] In one possible design, the method further includes: After receiving a news information preview request sent by a designated editing user terminal, the news information matching the news information preview request is sent to the editing user terminal for visual display; After receiving the news information deletion instruction sent by the editing user terminal, the news information matching the news information deletion instruction is deleted.
[0013] In a second aspect, the present invention provides a news information display device, which is used to implement a news information display method as described in any one of the above; the news information display device comprises: An information storage module, used for receiving the news information pushed by the main content management system, and performing verification processing on the news information, so as to store the news information after the news information passes the verification; An emergency strategy adjustment module, used to obtain an emergency response type and modify a domain name service mapping strategy according to the emergency response type; a terminal response module, which is respectively connected to the information storage module and the emergency strategy adjustment module in communication, and is used to receive a data access request sent by a user terminal, and return specified data to the user terminal according to the domain name service mapping strategy; Wherein, the emergency response type includes a normal response state and an emergency response state, and correspondingly, the domain name service mapping strategy includes a normal response domain name service mapping strategy matching the normal response state and an emergency response domain name service mapping strategy matching the emergency response state; When the domain name service mapping strategy is a normal response domain name service mapping strategy, the specified data returned to the user terminal is the specified news information pulled from the main content management system; When the domain name service mapping strategy is an emergency response domain name service mapping strategy, the designated data returned to the user terminal is designated news information or preset static data pulled from the emergency response content management system.
[0014] In a third aspect, the present invention provides an electronic device, comprising: a memory for storing computer program instructions; and, The processor is used to execute the computer program instructions to complete the operation of a news information display method as described in any one of the above.
[0015] In a fourth aspect, the present invention provides a computer program product, including a computer program or instructions, which, when executed by a computer, implements a news information display method as described in any one of the above.
[0016] The beneficial effects of the present invention are: The present invention discloses a news information display method, device, electronic device and product, which can realize controllable display of news information in different scenarios, and the control strategy is more flexible, which can meet the news display needs in emergency scenarios. Specifically, in the present invention, the news information source of the emergency response content management system is the news information pushed by the main content management system and verified, thereby ensuring the safety and controllability of the news information stored in the emergency response content management system; in the implementation process of the present invention, by obtaining the emergency response type and modifying the domain name service mapping strategy according to the emergency response type, after receiving the data access request sent by the user terminal, the specified data is returned to the user terminal according to the domain name service mapping strategy, and when the domain name service mapping strategy is the normal response domain name service mapping strategy, the specified data returned to the user terminal is the specified news information pulled from the main content management system, and when the domain name service mapping strategy is the emergency response domain name service mapping strategy, the specified data returned to the user terminal is the specified news information pulled from the emergency response content management system or preset static data. Based on this, the present invention can provide users with news information or static data from different sources according to different emergency response types. By setting different emergency response types, the domain name service mapping strategy is automatically adjusted to achieve flexible and controllable control of news information display. In emergency scenarios, multi-channel news information display strategies can be flexibly adjusted to ensure the security and stability of news information transmission.
[0017] Other beneficial effects of the present invention will be further described in the specific embodiments. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] Figure 1 is a flow chart of the news information display method in Example 1; Figure 2 is a schematic diagram of the relationship between the emergency response switch and the domain name service mapping strategy in Example 1; Figure 3 This is a response flow chart when the user terminal is an App terminal in Example 1; Figure 4 This is a response flow chart when the user terminal in Example 1 is a Wap terminal or a Web terminal; Figure 5 is a module block diagram of the news information display device in Example 2; Figure 6 This is a module block diagram of the electronic device in Example 3. DETAILED DESCRIPTION
[0019] In order to more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the present invention will be briefly introduced below in combination with the drawings and the description of the embodiments or the prior art. Obviously, the following description of the structure of the drawings is only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work. It should be noted that the description of these embodiments is used to help understand the present invention, but does not constitute a limitation of the present invention.
[0020] Embodiment 1: The present embodiment discloses a news information display method, which is executed based on an emergency response content management system that is communicatively connected to a main content management system. Specifically, in the present embodiment, if the main content management system is a content management system that is deployed in a public cloud and integrates news production, publishing, and display services, it can be implemented using a content management system in the prior art, which is not limited here. The emergency response system uses a content management system that is deployed in a private cloud computer room. In addition, in order to ensure the data security of the emergency response content management system, in the present embodiment, the emergency response content management system is physically isolated from the main content management system.
[0021] like Figure 1 As shown, the method may include but is not limited to the following steps: S1. Receive the news information pushed by the main content management system, and verify the news information to store it after the news information passes the verification. It should be noted that in this embodiment, in order to ensure the authenticity of the news information stored in the emergency response content management system, the emergency response content management system will verify the news information after receiving the news information pushed by the main content management system, and store it only after the verification passes, so as to serve as a source of news information for public users in emergency situations, thereby ensuring the safety and controllability of the news information stored in the emergency response content management system. During the implementation of this embodiment, the emergency response content management system receives the news information pushed by the main content management system in real time to ensure the real-time nature of the news information in the emergency response content management system, thereby improving the user experience of users viewing news information in emergency scenarios.
[0022] In step S1, the news information includes the encrypted news information obtained by the main content management system encrypting the initial news information and the initial check value matched with the encrypted news information; it should be noted that, in this embodiment, the main content management system encrypts the initial news information in advance and then transmits it to the emergency response content management system, which can prevent the data from being tampered with during the transmission process; in addition, in this embodiment, the main content management system calls the interface of the emergency response content management system in https (Hyper Text Transfer Protocol), thereby pushing the news information to the emergency response content management system.
[0023] In this embodiment, the initial news information is the news information bound with the original release mark in the main content management system. It should be noted that in this embodiment, the initial news information is the news information written by the reporter and passed the three-review and three-proofreading process (initial review, re-review, final review and three proofreadings). When it is released to the main content management system, it will automatically carry an original release mark; during the implementation of this embodiment, the main content management system will extract the initial news information with the original release mark in real time, encrypt it and calculate the check value, and push it to the emergency response content management system to ensure the real-time nature of the news information in the emergency response content management system. It should also be understood that the main content management system also includes news information reprinted from other platforms and self-media accounts, and its authenticity and credibility are usually low. In order to avoid the adverse effects of such news on the public in emergency scenarios, in this embodiment, the main content management system only pushes news information bound with the original release mark to the emergency response content management system.
[0024] Correspondingly, the news information is verified and stored after the news information passes the verification, including: S101. Calculate the check value of the encrypted news information in the news information to obtain a new check value; S102. Compare the new check value with the initial check value in the news information. If the new check value is consistent with the initial check value, proceed to the next step; if the new check value is inconsistent with the initial check value, discard the news information; S103. Decrypt the encrypted news information to obtain initial news information matching the encrypted news information, and store the initial news information, which can also be called a credible news article. Specifically, in this embodiment, the initial news information is stored in a preset emergency response database so that it can be called later.
[0025] Specifically, in this embodiment, the encrypted news information is obtained by the main content management system encrypting the initial news information using the AES (Advanced Encryption Standard) algorithm, and the initial verification value is calculated by the main content management system using the MD5 (Message-Digest Algorithm 5) algorithm to verify the encrypted news information for the emergency response content management system; the new verification value is obtained by the emergency response content management system using the DES (Data Encryption Standard, a block algorithm using key encryption) algorithm to calculate the verification value of the encrypted news information in the news information; when the new verification value is consistent with the initial verification value, the emergency response content management system uses the AES algorithm to decrypt the encrypted news information to obtain the initial news information matching the encrypted news information.
[0026] It should be noted that, in this embodiment, the news information stored in the emergency response content management system is authentic and controllable news information transmitted and verified from the main content management system, so as to be applied to news display scenarios when facing sudden content security incidents or system anomalies.
[0027] S2. Obtain the emergency response type, and modify the domain name service mapping policy according to the emergency response type. It should be noted that in this embodiment, the emergency response type is obtained according to the preset emergency response switch, such as Figure 2 As shown, the emergency response switch includes a normal response switch, a first-level emergency response switch and a second-level emergency response switch, corresponding to the three emergency response types of normal response state, first-level emergency response state and second-level emergency response state. Correspondingly, the domain name service mapping strategy includes a normal response domain name service mapping strategy matching the normal response state, a first-level response domain name service mapping strategy matching the first-level emergency response state and a second-level response domain name service mapping strategy matching the second-level emergency response state; during the implementation process, only administrator users with administrator privileges can switch the emergency response switch to ensure the controllable display of news information. In this embodiment, a WAF (Web Application Firewall) is preset in the emergency response content management system to realize the communication between the emergency response content management system and the user terminal. During the implementation process, the domain name service mapping strategy of the WAF is modified according to the emergency response type, so that after the WAF receives the data access request sent by the user terminal, it returns the specified data to the user terminal according to the expired domain name service mapping strategy.
[0028] S3. Receive a data access request sent by a user terminal, and return specified data to the user terminal according to the domain name service mapping policy.
[0029] Wherein, the emergency response type includes a normal response state and an emergency response state, and correspondingly, the domain name service mapping strategy includes a normal response domain name service mapping strategy matching the normal response state and an emergency response domain name service mapping strategy matching the emergency response state; When the domain name service mapping strategy is a normal response domain name service mapping strategy, the specified data returned to the user terminal is the specified news information pulled from the main content management system, and the user terminal correspondingly displays a normal status information flow page; When the domain name service mapping strategy is an emergency response domain name service mapping strategy, the specified data returned to the user terminal is specified news information or preset static data pulled from the emergency response content management system. At this time, the user terminal correspondingly displays the first-level emergency response information flow page or the second-level emergency response static page.
[0030] In step S2, the emergency response status includes a first-level emergency response status and a second-level emergency response status; correspondingly, the emergency response domain name service mapping strategy includes a first-level response domain name service mapping strategy matching the first-level emergency response status and a second-level response domain name service mapping strategy matching the second-level emergency response status; When the domain name service mapping strategy is a first-level response domain name service mapping strategy, the specified data returned to the user terminal is the specified news information or preset static data pulled from the emergency response content management system; When the domain name service mapping strategy is a secondary response domain name service mapping strategy, the designated data returned to the user terminal is preset static data.
[0031] It should be noted that, in this embodiment, the emergency response types include normal response status, level one emergency response status and level two emergency response status, which can satisfy the one-click switching of controllable display strategies of news information in different emergency scenarios.
[0032] Specifically, Figure 3As shown, if the user terminal is an App terminal, then when the domain name service mapping strategy is a normal response domain name service mapping strategy, the specified data returned to the user terminal is the specified news information pulled from the main content management system; it should be noted that when the domain name service mapping strategy is a normal response domain name service mapping strategy, all normally responding interfaces and services are normally enabled for access, and the interface normally returns a 200 status code, and the user traffic of all user terminals will be forwarded to the normal response service, that is, the specified news information is pulled from the main content management system according to the data access request sent by the user terminal, and the normal status information flow page is displayed.
[0033] When the domain name service mapping strategy is a first-level response domain name service mapping strategy, the specified data returned to the user terminal is the specified news information pulled from the emergency response content management system; it should be noted that, in this embodiment, when the domain name service mapping strategy is a first-level response domain name service mapping strategy, all normal response interfaces and services are inaccessible, and the traffic on the App side is forwarded to the first-level response service, that is, the specified news information is pulled from the emergency response content management system according to the data access request sent by the user terminal. At this time, the App side can only access the first-level response information flow page interface service, and the interface obtains the controllable news data in the emergency response database of the emergency response content management system, and returns a 110 status code. After the App side detects that the service returns a 110 status code, the first-level emergency response information flow page is displayed, and all cached data on the App side is cleared to ensure that the App side can immediately display the first-level emergency response information flow page when the user pulls down to refresh or requests a new interface.
[0034] When the domain name service mapping strategy is a secondary response domain name service mapping strategy, the designated data returned to the user terminal is preset static data.
[0035] like Figure 4 As shown, if the user terminal is a Wap terminal or a Web terminal, when the domain name service mapping strategy is a normal response domain name service mapping strategy, the specified data returned to the user terminal is the specified news information pulled from the main content management system; When the domain name service mapping strategy is a first-level response domain name service mapping strategy, the specified data returned to the user terminal is the specified news information pulled from the emergency response content management system or the preset static data; it should be noted that, in view of the fact that during the implementation process, the Wap end or the Web end usually does not need to register to access the news information, in order to ensure the security of the news information transmission process, in this embodiment, when the user terminal is a Wap end or a Web end, and the domain name service mapping strategy is a first-level response domain name service mapping strategy, the specified data returned to the user terminal is the preset static data. At this time, the request of the Wap end or the Web end automatically requests the second-level response information flow page interface service. The interface returns a 120 status code and does not return any news data. After the Wap end or the Web end detects that the interface returns a 120 status code, it displays the second-level emergency response static page.
[0036] When the domain name service mapping strategy is a secondary response domain name service mapping strategy, the designated data returned to the user terminal is preset static data.
[0037] It should be noted that in this embodiment, when the domain name service mapping strategy is a first-level response domain name service mapping strategy, all normal response interfaces and services are inaccessible. At this time, after receiving the data access request from the user terminal, the second-level response information flow page interface service is automatically requested to forward the traffic from the App, Wap or Web to the second-level emergency response service. The interface returns a 120 status code and does not return any news data. It only displays the second-level emergency response static page, that is, the specified data returned to the user terminal according to the data access request sent by the user terminal is the preset static data. In this process, after the App detects the 120 status code, all cached data on the App is cleared to ensure that the App can immediately display the second-level emergency response static page when the user pulls down to refresh or requests a new interface. After the Wap or Web detects that the interface returns a 120 status code, the second-level emergency response static page is displayed.
[0038] This embodiment designs a multi-level independent and securely deployed emergency response service, which can realize the controllable display of news information from multiple channels such as news apps, Wap websites and PC (Personal Computer) official websites under different emergency response strategies.
[0039] In this embodiment, by adopting different news information display strategies according to different types of user terminals, controllable display of news information can be achieved.
[0040] In addition, in this embodiment, the method further includes: After receiving a news information preview request sent by a designated editing user terminal, the news information matching the news information preview request is sent to the editing user terminal for visual display; After receiving the news information deletion instruction sent by the editing user terminal, the news information matching the news information deletion instruction is deleted.
[0041] It should be noted that, in this embodiment, an editing account is also preset so that editors can preview and delete news information stored in the emergency response database to ensure that the safety and controllable news of the emergency response can also be manually intervened.
[0042] This embodiment can realize the controllable display of news information in different scenarios, and the control strategy is more flexible, which can meet the news display needs in emergency scenarios. Specifically, in this embodiment, the source of news information of the emergency response content management system is the news information pushed by the main content management system and verified, thereby ensuring the safety and controllability of the news information stored in the emergency response content management system; during the implementation of this embodiment, by obtaining the emergency response type and modifying the domain name service mapping strategy according to the emergency response type, after receiving the data access request sent by the user terminal, the specified data is returned to the user terminal according to the domain name service mapping strategy, and when the domain name service mapping strategy is the normal response domain name service mapping strategy, the specified data returned to the user terminal is the specified news information pulled from the main content management system, and when the domain name service mapping strategy is the emergency response domain name service mapping strategy, the specified data returned to the user terminal is the specified news information pulled from the emergency response content management system or preset static data. Based on this, this embodiment can provide users with news information or static data from different sources according to different emergency response types. By setting different emergency response types, the domain name service mapping strategy is automatically adjusted to achieve flexible and controllable control of news information display. In emergency scenarios, multi-channel news information display strategies can be flexibly adjusted to ensure the security and stability of news information transmission.
[0043] In addition, this embodiment can also customize emergency response strategies according to user needs, and can provide users with a more user-friendly experience while ensuring content security and system stability. It has the advantages of simple operation, rapid response and precise control, and can be widely used in application scenarios such as news publishing and content management.
[0044] Embodiment 2: This embodiment discloses a news information display device, which is used to implement the news information display method in embodiment 1; Figure 5 As shown, the news information display device includes: An information storage module, used for receiving the news information pushed by the main content management system, and performing verification processing on the news information, so as to store the news information after the news information passes the verification; An emergency strategy adjustment module, used to obtain an emergency response type and modify a domain name service mapping strategy according to the emergency response type; a terminal response module, which is respectively connected to the information storage module and the emergency strategy adjustment module in communication, and is used to receive a data access request sent by a user terminal, and return specified data to the user terminal according to the domain name service mapping strategy; Wherein, the emergency response type includes a normal response state and an emergency response state, and correspondingly, the domain name service mapping strategy includes a normal response domain name service mapping strategy matching the normal response state and an emergency response domain name service mapping strategy matching the emergency response state; When the domain name service mapping strategy is a normal response domain name service mapping strategy, the specified data returned to the user terminal is the specified news information pulled from the main content management system; When the domain name service mapping strategy is an emergency response domain name service mapping strategy, the designated data returned to the user terminal is designated news information or preset static data pulled from the emergency response content management system.
[0045] It should be noted that the working process, working details and technical effects of the news information display device provided in this embodiment 2 can be found in embodiment 1 and will not be described in detail here.
[0046] Embodiment 3: Based on Embodiment 1 or 2, this embodiment discloses an electronic device, which may be a smart phone, a tablet computer, a laptop computer, or a desktop computer. The electronic device may be referred to as a user terminal, a portable terminal, a desktop terminal, etc. Figure 6 As shown, the electronic equipment includes: a memory for storing computer program instructions; and, The processor is used to execute the computer program instructions to complete the operation of a news information display method as described in any one of Example 1.
[0047] Specifically, the processor 301 may include one or more processing cores, such as a 4-core processor, an 8-core processor, etc. The processor 301 may be implemented in at least one hardware form of DSP (Digital Signal Processing), FPGA (Field-Programmable Gate Array), and PLA (Programmable Logic Array). The processor 301 may also include a main processor and a coprocessor. The main processor is a processor for processing data in the awake state, also known as a CPU (Central Processing Unit); the coprocessor is a low-power processor for processing data in the standby state. In some embodiments, the processor 301 may be integrated with a GPU (Graphics Processing Unit), which is responsible for rendering and drawing the content to be displayed on the display screen.
[0048] The memory 302 may include one or more computer-readable storage media, which may be non-transitory. The memory 302 may also include a high-speed random access memory, and a non-volatile memory, such as one or more disk storage devices, flash memory storage devices. In some embodiments, the non-transitory computer-readable storage medium in the memory 302 is used to store at least one instruction, which is used to be executed by the processor 301 to implement the news information display method provided in Example 1 of the present application.
[0049] In some embodiments, the terminal may further optionally include: a communication interface 303 and at least one peripheral device. The processor 301, the memory 302 and the communication interface 303 may be connected via a bus or a signal line. Each peripheral device may be connected to the communication interface 303 via a bus, a signal line or a circuit board. Specifically, the peripheral device includes: at least one of a radio frequency circuit 304, a display screen 305 and a power supply 306.
[0050] The communication interface 303 may be used to connect at least one peripheral device related to I / O (Input / Output) to the processor 301 and the memory 302. In some embodiments, the processor 301, the memory 302, and the communication interface 303 are integrated on the same chip or circuit board; in some other embodiments, any one or two of the processor 301, the memory 302, and the communication interface 303 may be implemented on a separate chip or circuit board, which is not limited in this embodiment.
[0051] The radio frequency circuit 304 is used to receive and transmit RF (Radio Frequency) signals, also known as electromagnetic signals. The radio frequency circuit 304 communicates with a communication network and other communication devices through electromagnetic signals.
[0052] The display screen 305 is used to display a UI (User Interface). The UI may include any combination of graphics, text, icons, and videos.
[0053] The power supply 306 is used to supply power to various components in the electronic device.
[0054] Embodiment 4: Based on any one of Embodiments 1 to 3, this embodiment discloses a computer program product, including a computer program or instructions, which, when executed by a computer, implements a news information display method as described in any one of Embodiments 1. The computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices.
[0055] Obviously, those skilled in the art should understand that the above modules or steps of the present invention can be implemented by a general computing device, they can be concentrated on a single computing device, or distributed on a network composed of multiple computing devices, and optionally, they can be implemented by a program code executable by a computing device, so that they can be stored in a storage device and executed by the computing device, or they can be made into individual integrated circuit modules, or multiple modules or steps therein can be made into a single integrated circuit module for implementation. Thus, the present invention is not limited to any specific combination of hardware and software.
[0056] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit them; although the present invention has been described in detail with reference to the above embodiments, a person skilled in the art should understand that the technical solutions described in the above embodiments can still be modified, or some of the technical features can be replaced by equivalents. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims
1. A news information display method, characterized in that: The method is executed based on an emergency response content management system that is in communication with a main content management system and includes: Receiving news information pushed by the main content management system, and verifying the news information, so as to store the news information after the news information passes the verification; Obtaining an emergency response type, and modifying a domain name service mapping strategy according to the emergency response type; Receiving a data access request sent by a user terminal, and returning specified data to the user terminal according to the domain name service mapping policy; Wherein, the emergency response type includes a normal response state and an emergency response state, and correspondingly, the domain name service mapping strategy includes a normal response domain name service mapping strategy matching the normal response state and an emergency response domain name service mapping strategy matching the emergency response state; When the domain name service mapping strategy is a normal response domain name service mapping strategy, the specified data returned to the user terminal is the specified news information pulled from the main content management system; When the domain name service mapping strategy is an emergency response domain name service mapping strategy, the designated data returned to the user terminal is designated news information or preset static data pulled from the emergency response content management system.
2. A news information display method according to claim 1, characterized in that: The news information includes encrypted news information obtained by encrypting the initial news information by the main content management system and an initial check value set to match the encrypted news information; correspondingly, the news information is checked and stored after the news information passes the check, including: Calculating a check value for the encrypted news information in the news information to obtain a new check value; Compare the new check value with the initial check value in the news information, if the new check value is consistent with the initial check value, proceed to the next step; if the new check value is inconsistent with the initial check value, discard the news information; The encrypted news information is decrypted to obtain initial news information matching the encrypted news information, and the initial news information is stored.
3. A news information display method according to claim 2, characterized in that: The initial news information is news information bound with an original release mark in the main content management system.
4. A news information display method according to claim 1, characterized in that: The emergency response status includes a first-level emergency response status and a second-level emergency response status; correspondingly, the emergency response domain name service mapping strategy includes a first-level response domain name service mapping strategy matching the first-level emergency response status and a second-level response domain name service mapping strategy matching the second-level emergency response status; When the domain name service mapping strategy is a first-level response domain name service mapping strategy, the specified data returned to the user terminal is the specified news information or preset static data pulled from the emergency response content management system; When the domain name service mapping strategy is a secondary response domain name service mapping strategy, the designated data returned to the user terminal is preset static data.
5. A news information display method according to claim 4, characterized in that: If the user terminal is an App terminal, when the domain name service mapping strategy is a normal response domain name service mapping strategy, the specified data returned to the user terminal is the specified news information pulled from the main content management system; When the domain name service mapping strategy is a first-level response domain name service mapping strategy, the specified data returned to the user terminal is the specified news information pulled from the emergency response content management system; When the domain name service mapping strategy is a secondary response domain name service mapping strategy, the designated data returned to the user terminal is preset static data.
6. A news information display method according to claim 4, characterized in that: If the user terminal is a Wap terminal or a Web terminal, when the domain name service mapping strategy is a normal response domain name service mapping strategy, the specified data returned to the user terminal is the specified news information pulled from the main content management system; When the domain name service mapping strategy is a first-level response domain name service mapping strategy, the specified data returned to the user terminal is the specified news information or preset static data pulled from the emergency response content management system; When the domain name service mapping strategy is a secondary response domain name service mapping strategy, the designated data returned to the user terminal is preset static data.
7. A news information display method according to claim 1, characterized in that: The method further comprises: After receiving a news information preview request sent by a designated editing user terminal, the news information matching the news information preview request is sent to the editing user terminal for visual display; After receiving the news information deletion instruction sent by the editing user terminal, the news information matching the news information deletion instruction is deleted.
8. A news information display device, characterized in that: Used to implement a news information display method as described in any one of claims 1 to 7; The news information display device comprises: An information storage module, used for receiving the news information pushed by the main content management system, and performing verification processing on the news information, so as to store the news information after the news information passes the verification; An emergency strategy adjustment module, used to obtain an emergency response type and modify a domain name service mapping strategy according to the emergency response type; a terminal response module, which is respectively connected to the information storage module and the emergency strategy adjustment module in communication, and is used to receive a data access request sent by a user terminal, and return specified data to the user terminal according to the domain name service mapping strategy; Wherein, the emergency response type includes a normal response state and an emergency response state, and correspondingly, the domain name service mapping strategy includes a normal response domain name service mapping strategy matching the normal response state and an emergency response domain name service mapping strategy matching the emergency response state; When the domain name service mapping strategy is a normal response domain name service mapping strategy, the specified data returned to the user terminal is the specified news information pulled from the main content management system; When the domain name service mapping strategy is an emergency response domain name service mapping strategy, the designated data returned to the user terminal is designated news information or preset static data pulled from the emergency response content management system.
9. An electronic device, characterized in that: include: a memory for storing computer program instructions; as well as, A processor is used to execute the computer program instructions to complete the operation of a news information display method as described in any one of claims 1 to 7.
10. A computer program product comprising a computer program or instructions, characterized in that When the computer program or the instruction is executed by a computer, the news information display method as described in any one of claims 1 to 7 is implemented.