CN112804347B - Multi-source information publishing method, terminal equipment and storage medium - Google Patents

Multi-source information publishing method, terminal equipment and storage medium Download PDF

Info

Publication number
CN112804347B
CN112804347B CN202110158332.2A CN202110158332A CN112804347B CN 112804347 B CN112804347 B CN 112804347B CN 202110158332 A CN202110158332 A CN 202110158332A CN 112804347 B CN112804347 B CN 112804347B
Authority
CN
China
Prior art keywords
site
request
http request
source information
processor
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
CN202110158332.2A
Other languages
Chinese (zh)
Other versions
CN112804347A (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.)
Xiamen Meiya Pico Information Co Ltd
Original Assignee
Xiamen Meiya Pico Information 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 Xiamen Meiya Pico Information Co Ltd filed Critical Xiamen Meiya Pico Information Co Ltd
Priority to CN202110158332.2A priority Critical patent/CN112804347B/en
Publication of CN112804347A publication Critical patent/CN112804347A/en
Application granted granted Critical
Publication of CN112804347B publication Critical patent/CN112804347B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/955Retrieval from the web using information identifiers, e.g. uniform resource locators [URL]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/10Protecting distributed programs or content, e.g. vending or licensing of copyrighted material ; Digital rights management [DRM]
    • G06F21/16Program or content traceability, e.g. by watermarking
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/12Applying verification of the received information
    • H04L63/126Applying verification of the received information the source of the received data
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • H04L67/146Markers for unambiguous identification of a particular session, e.g. session cookie or URL-encoding
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/60Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Abstract

The invention relates to a multi-source information issuing method, terminal equipment and a storage medium, wherein the method comprises the following steps: s1: storing cookie values of a user at a plurality of sites; s2: and receiving the HTTP request, searching a cookie value corresponding to the site according to the site type in the HTTP request, logging in the site, and performing corresponding operation in the logged-in site according to the request type in the HTTP request. The invention can complete multi-site diffusion of contents in a time-saving and labor-saving manner, a user only needs to perform cookie binding on the account of each corresponding site in advance, and can easily push the contents to each mainstream media site by one key only by issuing one piece of information subsequently, or realize operations such as posting, commenting, forwarding, appropriating and the like on any mainstream media site in one APP of the terminal without repeatedly logging in different mainstream media sites to execute similar operations, thereby greatly improving the enthusiasm of netists, widely spreading positive energy information on the Internet and creating a more civilized and healthier Internet environment.

Description

Multi-source information publishing method, terminal equipment and storage medium
Technical Field
The present invention relates to the field of information distribution, and in particular, to a multi-source information distribution method, a terminal device, and a storage medium.
Background
In the past, because a large number of network plagiarisms appear at present, a large number of originality content creators are continuously attacked, and for most of the creators who just start to work, the exposure and the influence which can be generated by information distribution of a single site are often far insufficient. In this regard, the simplest prevention is that the author spreads each article to each site with readers, and strictly reviews the content by the sites, so as to maintain the brand of the original, and the multi-site spreading is a very time-consuming work, and such mechanical operation will squeeze a large amount of spare time of the author, and affect the production efficiency of the original content.
Disclosure of Invention
In order to solve the above problems, the present invention provides a multi-source information distribution method, a terminal device, and a storage medium, so as to implement multi-source information distribution.
The specific scheme is as follows:
a multi-source information publishing method comprises the following steps:
s1: storing cookie values of a user at a plurality of sites;
s2: and receiving the HTTP request, searching the cookie value corresponding to the site according to the site type in the HTTP request, logging in the site, and performing corresponding operation in the logged-in site according to the request type in the HTTP request.
Further, the request types include post, comment, like, and forward.
Further, step S2 specifically includes: and extracting the URL and the dynamic parameters in the HTTP request, and combining the cookie value corresponding to the site with the extracted URL and the dynamic parameters to log in the site and perform the operation of the request.
Further, when the content needs to be published to a plurality of sites, the site to be published and the request type corresponding to the content are selected, a plurality of HTTP requests of which each request type of each site corresponds to one HTTP request are generated, the URL and the dynamic parameters in each HTTP request are extracted and stored in the request base, and the URL and the dynamic parameters of each HTTP request in the request base are combined with the cookie value of the corresponding site in sequence to log in the corresponding site and operate the corresponding request.
Further, in step S2, automatic screenshot is performed after corresponding operation is performed on each site.
Further, the method also comprises the step S3: judging whether the operation corresponding to the request type is successful according to the received response content from the login site, if so, constructing a link of a result page of the HTTP request, and performing automatic screenshot after opening the link; otherwise, the request is repeated.
The multi-source information issuing terminal equipment comprises a processor, a memory and a computer program which is stored in the memory and can run on the processor, wherein the processor executes the computer program to realize the steps of the method of the embodiment of the invention.
A computer-readable storage medium, in which a computer program is stored, which, when being executed by a processor, carries out the steps of the method as described above for an embodiment of the invention.
By adopting the technical scheme, the invention can complete multi-site diffusion of contents in a time-saving and labor-saving manner so as to save more time for doing more valuable things, a user only needs to perform cookie binding on the account of each corresponding site in advance, and can easily push the contents to each mainstream media site by one key only by issuing one piece of information subsequently, or realize the operations of posting, commenting, forwarding, appropriating and the like on any mainstream media site in one APP of the terminal without repeatedly logging in different mainstream media sites to execute similar operations, thereby greatly improving the enthusiasm of network owners, widely spreading positive energy information on the Internet and creating a more civilized and healthier Internet environment.
Drawings
Fig. 1 is a flowchart of a first embodiment of the invention.
Detailed Description
To further illustrate the various embodiments, the present invention provides the accompanying figures. The accompanying drawings, which are incorporated in and constitute a part of this disclosure, illustrate embodiments of the invention and, together with the description, serve to explain the principles of the embodiments. Those skilled in the art will appreciate still other possible embodiments and advantages of the present invention with reference to these figures.
The invention will now be further described with reference to the accompanying drawings and detailed description.
The first embodiment is as follows:
an embodiment of the present invention provides a multi-source information publishing method, as shown in fig. 1, which is a flowchart of the multi-source information publishing method according to the embodiment of the present invention, and the method includes the following steps:
s1: cookie values for a user at multiple sites are stored.
The stored cookie value does not relate to the user account password, and the cookie value of each site is represented by a symbol Si-CK in the embodiment, wherein i represents the serial number of the site. Such as:
S1-CK: site 1cookie
S2-CK: site 2cookie
S3-CK: site 3cookie
S4-CK: site 4 cookies
S5-CK: site 5 cookies
.....................
S2: and receiving the HTTP request, searching a cookie value corresponding to the site according to the site type in the HTTP request, logging in the site, and performing corresponding operation in the logged-in site according to the request type in the HTTP request.
The method comprises the following specific steps: and extracting the URL and the dynamic parameters in the HTTP request, and combining the cookie value corresponding to the site with the extracted URL and the dynamic parameters to log in and request the site.
The different types of sites in this example are represented by Si, such as:
s1 station 1
S2 station 2
S3: station 3
S4: station 4
S5: station 5
.....................
The request types include four types, namely, post, comment, like and forward, and in other embodiments, other types may be included, which is not limited herein. The four types in this example are represented by the following four symbols, respectively:
p is main label
C review
R is forwarding
L. praise
Then, each HTTP request represented according to the site type and the request type is:
S1-P site 1 main label
S1-C site 1 comments
S1-R site 1 forwarding
S1-L site 1 praise
S2-R site 2 Forwarding
S3-P: site 3 main label
S4-P: site 4 main label
S5-P: site 5 main label
.....................
The HTTP request in combination with the cookie value corresponding to the site represents the corresponding request as:
S1-P-CK site 1 master post simulation request
S2-R-CK-site 2 forwards simulation request
S3-P-CK: site 3 master post simulation request
S4-P-CK: site 4 master post emulation request
S5-P-CK: site 5 master post emulation request
.....................
The embodiment also comprises the step of automatically screenshot after each site is correspondingly operated so as to prepare for subsequent information source tracing.
Further, when content (such as an article) needs to be published to a plurality of sites, a site to be published and a request type corresponding to the content are selected, a plurality of HTTP requests of each HTTP request corresponding to each request type of each site are generated, URLs and dynamic parameters in each HTTP request are extracted and stored in a request base, and the URLs and the dynamic parameters of each HTTP request in the request base are combined with cookie values of the corresponding site in sequence to log in the corresponding site and operate the corresponding request.
In order to further verify whether the operation is successful, the embodiment further includes:
s3: judging whether the operation corresponding to the request type is successful according to the received response content from the login site, if so, constructing a link of a result page of the HTTP request, and performing automatic screenshot after opening the link; otherwise, the request is repeated.
By adopting the scheme, the efficiency of the content creator for publishing information can be greatly improved, the enthusiasm is improved, the multi-site diffusion of the content can be completed in a time-saving and labor-saving manner, and meanwhile, automatic screenshot is performed on operations of publishing a main post, commenting, appropriating, forwarding and the like so as to prepare for subsequent traceability, protect the original content and provide strong support for the content creation of the original creator on a main stream media site.
Example two:
the invention also provides multi-source information issuing terminal equipment which comprises a memory, a processor and a computer program which is stored in the memory and can run on the processor, wherein the processor executes the computer program to realize the steps of the method embodiment of the first embodiment of the invention.
Further, as an executable scheme, the multi-source information distribution terminal device may be a computing device such as a desktop computer, a notebook, a palm computer, and a cloud server. The multi-source information distribution terminal equipment can comprise, but is not limited to, a processor and a memory. Those skilled in the art can understand that the above-mentioned composition structure of the multi-source information distribution terminal device is only an example of the multi-source information distribution terminal device, and does not constitute a limitation on the multi-source information distribution terminal device, and may include more or less components than the above, or combine some components, or different components, for example, the multi-source information distribution terminal device may further include an input-output device, a network access device, a bus, etc., which is not limited in this embodiment of the present invention.
Further, as an executable solution, the Processor may be a Central Processing Unit (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other Programmable logic device, a discrete Gate or transistor logic device, a discrete hardware component, and the like. The general processor can be a microprocessor or the processor can be any conventional processor, and the processor is a control center of the multi-source information distribution terminal equipment and is connected with each part of the whole multi-source information distribution terminal equipment by various interfaces and circuits.
The memory can be used for storing the computer program and/or the module, and the processor realizes various functions of the multi-source information distribution terminal equipment by running or executing the computer program and/or the module stored in the memory and calling data stored in the memory. The memory can mainly comprise a program storage area and a data storage area, wherein the program storage area can store an operating system and an application program required by at least one function; the storage data area may store data created according to the use of the mobile phone, and the like. In addition, the memory may include high-speed random access memory, and may also include non-volatile memory, such as a hard disk, a memory, a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), at least one magnetic disk storage device, a Flash memory device, or other volatile solid state storage device.
The present invention also provides a computer-readable storage medium, which stores a computer program, which, when executed by a processor, implements the steps of the above-mentioned method of an embodiment of the present invention.
If the module/unit integrated by the multi-source information distribution terminal equipment is realized in the form of a software functional unit and is sold or used as an independent product, the module/unit can be stored in a computer readable storage medium. Based on such understanding, all or part of the flow of the method according to the embodiments of the present invention may also be implemented by a computer program, which may be stored in a computer-readable storage medium, and when the computer program is executed by a processor, the steps of the method embodiments may be implemented. Wherein the computer program comprises computer program code, which may be in the form of source code, object code, an executable file or some intermediate form, etc. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, usb disk, removable hard disk, magnetic disk, optical disk, computer Memory, read-Only Memory (ROM), random Access Memory (RAM), software distribution medium, and the like.
While the invention has been particularly shown and described with reference to a preferred embodiment, it will be understood by those skilled in the art that various changes in form and detail may be made therein without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (6)

1. A multi-source information publishing method is characterized by comprising the following steps:
s1: storing cookie values of a user at a plurality of sites;
s2: receiving an HTTP request, searching a cookie value corresponding to a site according to the site type in the HTTP request, then performing site login, and performing corresponding operation in the logged-in site according to the request type in the HTTP request; the method specifically comprises the following steps: extracting URL and dynamic parameters in the HTTP request, combining cookie values corresponding to the site with the extracted URL and dynamic parameters, and performing login and request operations of the site; when the content needs to be issued to a plurality of sites, the site to be issued and the request type corresponding to the content are selected, a plurality of HTTP requests of which each request type of each site corresponds to one HTTP request are generated, the URL and the dynamic parameters in each HTTP request are extracted and stored in a request base, the URL and the dynamic parameters of each HTTP request in the request base are combined with the cookie value of the corresponding site in sequence, and the login of the corresponding site and the operation of the corresponding request are carried out.
2. The multi-source information distribution method according to claim 1, characterized in that: request types include posts, comments, praise, and forward.
3. The multi-source information distribution method according to claim 1, characterized in that: and in the step S2, automatic screenshot is carried out after corresponding operation is carried out on each site.
4. The multi-source information distribution method according to claim 1, characterized in that: further comprising step S3: judging whether the operation corresponding to the request type is successful according to the received response content from the login site, if so, constructing a link of a result page of the HTTP request, and performing automatic screenshot after opening the link; otherwise, the request is re-made.
5. A multisource information issuing terminal equipment which characterized in that: comprising a processor, a memory and a computer program stored in said memory and running on said processor, said processor implementing the steps of the method according to any one of claims 1 to 4 when executing said computer program.
6. A computer-readable storage medium storing a computer program, characterized in that: the computer program realizing the steps of the method according to any one of claims 1 to 4 when executed by a processor.
CN202110158332.2A 2021-02-05 2021-02-05 Multi-source information publishing method, terminal equipment and storage medium Active CN112804347B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110158332.2A CN112804347B (en) 2021-02-05 2021-02-05 Multi-source information publishing method, terminal equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110158332.2A CN112804347B (en) 2021-02-05 2021-02-05 Multi-source information publishing method, terminal equipment and storage medium

Publications (2)

Publication Number Publication Date
CN112804347A CN112804347A (en) 2021-05-14
CN112804347B true CN112804347B (en) 2023-04-07

Family

ID=75814324

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110158332.2A Active CN112804347B (en) 2021-02-05 2021-02-05 Multi-source information publishing method, terminal equipment and storage medium

Country Status (1)

Country Link
CN (1) CN112804347B (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108471378A (en) * 2018-03-06 2018-08-31 深圳市爱的网络科技有限公司 A kind of content delivery method, device, terminal and readable storage medium storing program for executing
CN111246226A (en) * 2020-01-04 2020-06-05 厦门二五八网络科技集团股份有限公司 Management method and system for new media platform

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8825747B2 (en) * 2010-05-07 2014-09-02 Google Inc. Managing multiple logins from a single browser
US20150156226A1 (en) * 2012-06-15 2015-06-04 Holonis, Inc. System and method for internet publishing
WO2014031141A1 (en) * 2012-08-24 2014-02-27 Kraft Sheldon Methods and apparatus for creating and using a business video press release
US9965567B2 (en) * 2014-02-28 2018-05-08 Cbs Interactive Inc. Adaptive content management system for multiple platforms
CN104468790B (en) * 2014-12-09 2018-09-11 北京奇虎科技有限公司 The processing method and client of cookie data
WO2016101043A1 (en) * 2014-12-24 2016-06-30 Scatter Scatter Pty Ltd Performing a social media action
CN109670135A (en) * 2018-12-28 2019-04-23 北京金山安全软件有限公司 Multi-platform article publishing method and device and electronic equipment
CN112100547B (en) * 2020-11-10 2021-06-18 北京数智新天信息技术咨询有限公司 Page data acquisition method and device and electronic equipment

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108471378A (en) * 2018-03-06 2018-08-31 深圳市爱的网络科技有限公司 A kind of content delivery method, device, terminal and readable storage medium storing program for executing
CN111246226A (en) * 2020-01-04 2020-06-05 厦门二五八网络科技集团股份有限公司 Management method and system for new media platform

Also Published As

Publication number Publication date
CN112804347A (en) 2021-05-14

Similar Documents

Publication Publication Date Title
CN110750741B (en) Webpage link skipping processing method, computer device and storage medium
CN102646135B (en) Webpage collecting method, device and system
CN105512890A (en) Method and system for generating accounting voucher
CN110688600A (en) Online editing method, device and equipment based on HTML (Hypertext markup language) page and storage medium
CN108595583A (en) Dynamic chart class page data crawling method, device, terminal and storage medium
CN107977346B (en) PDF document editing method and terminal equipment
CN110851134A (en) Low-code page design device and page design method
CN102006163A (en) User authentication method, device and server
CN111125598A (en) Intelligent data query method, device, equipment and storage medium
CN112612452B (en) API platform realization method, device, equipment and storage medium
CN105574735A (en) Internet-based display material system and display material manufacturing method
CN110738035A (en) document template generation method and device
CN110716718A (en) Page generation method, device, equipment and storage medium
CN110555179A (en) Dynamic website script evidence obtaining method, terminal equipment and storage medium
CN110941779A (en) Page loading method and device, storage medium and electronic equipment
CN104657668A (en) Terminal
CN105550179A (en) Webpage collection method and browser plug-in
CN108062321B (en) Page turning method and device based on paging
CN113987054A (en) Big data governance full-flow visualization method and device and storage medium
CN112804347B (en) Multi-source information publishing method, terminal equipment and storage medium
CN112084446A (en) Webpage editing method, editor, electronic equipment and readable storage medium
CN115065945B (en) Short message link generation method and device, electronic equipment and storage medium
CN104657991A (en) Picture processing method
CN115167728A (en) Menu bar merging and displaying method, device and computer readable storage medium
CN113297502B (en) Rich text monitoring and filtering method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant