CN114300074A - Method and device for generating flow questionnaire link, electronic equipment and storage medium - Google Patents

Method and device for generating flow questionnaire link, electronic equipment and storage medium Download PDF

Info

Publication number
CN114300074A
CN114300074A CN202210002868.XA CN202210002868A CN114300074A CN 114300074 A CN114300074 A CN 114300074A CN 202210002868 A CN202210002868 A CN 202210002868A CN 114300074 A CN114300074 A CN 114300074A
Authority
CN
China
Prior art keywords
flow
questionnaire
program
generating
link
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210002868.XA
Other languages
Chinese (zh)
Inventor
冯大航
陈孝良
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing SoundAI Technology Co Ltd
Original Assignee
Beijing SoundAI Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing SoundAI Technology Co Ltd filed Critical Beijing SoundAI Technology Co Ltd
Priority to CN202210002868.XA priority Critical patent/CN114300074A/en
Publication of CN114300074A publication Critical patent/CN114300074A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The disclosure provides a method and a device for generating a flow questionnaire link, electronic equipment and a storage medium, and belongs to the technical field of internet. The method comprises the following steps: responding to touch operation of a flow questionnaire link generation control on a flow questionnaire generation interface, and sending the flow questionnaire to a background server of a flow modulation program; acquiring a storage address of a flow call questionnaire in a background server of a flow call program; based on the storage address and the domain name of the flow call program, a flow call questionnaire link for the flow call point is generated. According to the method and the device, complex operation is not needed, after the flow questionnaire is configured on the flow questionnaire generating interface, the storage address of the flow questionnaire in a background server of a flow calling program and the domain name of the flow calling program can be obtained by touching the flow questionnaire link generating control on the interface, and then the flow questionnaire link is automatically generated based on the storage address and the domain name of the flow calling program, the generating mode is simple and fast, and therefore the flow calling information obtaining service can be rapidly provided for a disease control department.

Description

Method and device for generating flow questionnaire link, electronic equipment and storage medium
Technical Field
The present disclosure relates to the field of internet technologies, and in particular, to a method and an apparatus for generating a flow questionnaire link, an electronic device, and a storage medium.
Background
The flow regulation is a short term of epidemiological survey, and is a survey mode for inviting users to participate in questionnaire survey and acquiring epidemic situation prevention and control information. The flow regulation is used as an important work in epidemic situation prevention and control, and the flow regulation result can play a role in effectively restraining the epidemic situation. And how to generate a flow questionnaire link as a load-bearing object of the flow regulation result to realize the collection of the flow regulation result becomes crucial.
When the related technology generates the flow adjustment questionnaire link, a worker of a disease control department needs to determine the flow adjustment problem, the style of the flow adjustment questionnaire and the like, then the flow adjustment problem, the style of the flow adjustment questionnaire and the like are communicated with a technical worker, and the technical worker generates the flow adjustment questionnaire link through a series of operations according to the requirement of the worker.
However, in the related art, since a technician needs to perform a series of operations to generate the flow questionnaire link, the flow questionnaire link is generated in a complex manner, and the flow information acquisition service cannot be provided to the disease control department quickly.
Disclosure of Invention
The embodiment of the disclosure provides a method and a device for generating a flow questionnaire link, electronic equipment and a storage medium, which can reduce the generation complexity of the flow questionnaire link. The technical scheme is as follows:
in a first aspect, a method for generating a flow questionnaire link is provided, where the method includes:
displaying a flow questionnaire generation interface, wherein the flow questionnaire generation interface is used for generating flow questionnaires corresponding to the flow questionnaires, and a flow questionnaire link generation control is displayed on the flow questionnaire generation interface;
responding to touch operation of a control generated according to the flow questionnaire link, and sending the flow questionnaire to a background server of a flow modulation program;
acquiring a storage address of the flow call questionnaire in a background server of the flow call program;
and generating a flow modulation questionnaire link of the flow modulation point based on the storage address and the domain name of the flow modulation program.
In another embodiment of the present disclosure, the obtaining a storage address of the flow call questionnaire in a background server of the flow call program includes:
acquiring a questionnaire identifier of the flow adjusting questionnaire, a flow adjusting program identifier and a page path of the flow adjusting questionnaire in the flow adjusting program;
sending an address acquisition request to a background server of the flow modulation program, wherein the address acquisition request comprises a questionnaire identifier of the flow modulation questionnaire, the flow modulation program identifier and the page path, and the address acquisition request is used for requesting the background server of the flow modulation program to return the storage address;
and receiving the storage address returned by the background server of the flow call program.
In another embodiment of the present disclosure, before sending the address obtaining request to the background server of the streaming program, the method further includes:
acquiring name information of the flow adjustment point;
generating an encryption identifier of the flow modulation questionnaire according to the name information of the flow modulation point;
encrypting the questionnaire identification based on the encryption identification to obtain an encrypted questionnaire identification;
the sending an address acquisition request to a background server of the streaming program includes:
and carrying the encrypted questionnaire identification, the flow calling program identification and the page path in the address acquisition request and sending the address acquisition request to a background server of the flow calling program.
In another embodiment of the present disclosure, the name information of the flow regulation point includes a flow regulation mechanism name and a flow regulation department name of the flow regulation point, and generating an encrypted identifier corresponding to the flow regulation questionnaire according to the name information of the flow regulation point includes:
splicing the characters corresponding to the mechanism names and the characters corresponding to the department names into a character string;
and generating an encryption identifier corresponding to the flow questionnaire according to the length of the character string and the character code corresponding to each character in the character string.
In another embodiment of the present disclosure, the generating an encrypted identifier corresponding to the flow questionnaire according to the length of the character string and the character code corresponding to each character in the character string includes:
dividing the character code corresponding to each character in the character string by the length of the character string to obtain a remainder corresponding to each character;
and splicing the remainders corresponding to the characters to obtain the encrypted identifier.
In another embodiment of the present disclosure, the generating a flow call questionnaire link for the flow call point based on the storage address and the domain name of the flow call program includes:
and splicing the storage addresses to a preset position of the domain name of the flow modulation program to obtain the flow modulation questionnaire link.
In another embodiment of the present disclosure, after generating the link of the flow key point, the method further includes:
and sending the flow questionnaire link by adopting a preset sending mode.
In a second aspect, an apparatus for generating a flow questionnaire link is provided, the apparatus comprising:
the display module is used for displaying a flow questionnaire generation interface, the flow questionnaire generation interface is used for generating flow questionnaires corresponding to the flow questionnaires, and a flow questionnaire link generation control is displayed on the flow questionnaire generation interface;
the sending module is used for responding to the touch operation of the flow questionnaire link generation control and sending the flow questionnaire to a background server of a flow modulation program;
the acquisition module is used for acquiring the storage address of the flow modulation questionnaire in a background server of the flow modulation program;
and the generating module is used for generating the flow call questionnaire link of the flow call point based on the storage address and the domain name of the flow call program.
In another embodiment of the present disclosure, the obtaining module is configured to obtain a questionnaire identifier of the flow adjustment questionnaire, a flow adjustment program identifier, and a page path of the flow adjustment questionnaire in the flow adjustment program; sending an address acquisition request to a background server of the flow modulation program, wherein the address acquisition request comprises a questionnaire identifier of the flow modulation questionnaire, the flow modulation program identifier and the page path, and the address acquisition request is used for requesting the background server of the flow modulation program to return the storage address; and receiving the storage address returned by the background server of the flow call program.
In another embodiment of the present disclosure, the obtaining module is further configured to obtain name information of the flow scheduling point;
the generating module is further configured to generate an encrypted identifier of the flow modulation questionnaire according to the name information of the flow modulation point;
the encryption module is used for encrypting the questionnaire identification based on the encryption identification to obtain an encrypted questionnaire identification;
the sending module is further configured to send the encrypted questionnaire identifier, the flow calling program identifier, and the page path to the background server of the flow calling program, where the questionnaire identifier, the flow calling program identifier, and the page path are carried in the address acquisition request.
In another embodiment of the present disclosure, the name information of the flow adjustment point includes a flow adjustment mechanism name and a flow adjustment department name of the flow adjustment point, and the generating module is further configured to splice a character corresponding to the mechanism name and a character corresponding to the department name into a character string; and generating an encryption identifier corresponding to the flow questionnaire according to the length of the character string and the character code corresponding to each character in the character string.
In another embodiment of the present disclosure, the generating module is configured to divide a character code corresponding to each character in the character string by the length of the character string to obtain a remainder corresponding to each character; and splicing the remainders corresponding to the characters to obtain the encrypted identifier.
In another embodiment of the present disclosure, the generating module is configured to splice the storage address to a preset position of a domain name of the flow modulation program, so as to obtain the flow modulation questionnaire link.
In another embodiment of the present disclosure, the sending module is further configured to send the flow questionnaire link in a preset sending manner.
In a third aspect, an electronic device is provided, where the electronic device includes a processor and a memory, where the memory stores at least one program code, and the at least one program code is loaded and executed by the processor to implement the method for generating a flow questionnaire link according to the first aspect.
In a fourth aspect, a computer-readable storage medium is provided, in which at least one program code is stored, and the at least one program code is loaded and executed by a processor to implement the method for generating a flow questionnaire link according to the first aspect.
In a fifth aspect, a computer program product is provided, the computer program product comprising computer program code stored in a computer-readable storage medium, the computer program code being read from the computer-readable storage medium by a processor of an electronic device, the processor executing the computer program code to cause the electronic device to execute the method for generating a questionnaire link according to the first aspect.
The technical scheme provided by the embodiment of the disclosure has the following beneficial effects:
after the staff of the flow adjustment department configures the flow adjustment questionnaire on the flow adjustment questionnaire generation interface, the staff can send the generated flow adjustment questionnaire to the background server of the flow adjustment program through the touch operation of the flow adjustment questionnaire link generation control on the flow adjustment questionnaire generation interface, and obtain the storage address of the flow adjustment questionnaire in the background server of the flow adjustment program, so that the flow adjustment questionnaire link is automatically generated based on the storage address and the domain name of the flow adjustment program. Because complex operation is not needed, the generation mode of the flow adjustment questionnaire link is simpler and quicker, and the flow adjustment information acquisition service can be quickly provided for disease control departments.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present disclosure, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present disclosure, and it is obvious for those skilled in the art to obtain other drawings based on the drawings without creative efforts.
Fig. 1 is an implementation environment related to a method for generating a flow questionnaire link according to an embodiment of the present disclosure;
fig. 2 is a flowchart of a method for generating a flow questionnaire link according to an embodiment of the present disclosure;
fig. 3 is a flowchart of another method for generating a link to a flow questionnaire according to an embodiment of the present disclosure;
fig. 4 is a flowchart of another method for generating a link to a flow questionnaire according to an embodiment of the present disclosure;
fig. 5 is a schematic structural diagram of a flow questionnaire link generation apparatus provided in an embodiment of the present disclosure;
fig. 6 shows a block diagram of an electronic device according to an exemplary embodiment of the present disclosure.
Detailed Description
To make the objects, technical solutions and advantages of the present disclosure more apparent, embodiments of the present disclosure will be described in detail with reference to the accompanying drawings.
It is to be understood that the terms "each," "a plurality," and "any" and the like, as used in the embodiments of the present disclosure, are intended to encompass two or more, each referring to each of the corresponding plurality, and any referring to any one of the corresponding plurality. For example, the plurality of words includes 10 words, and each word refers to each of the 10 words, and any word refers to any one of the 10 words.
Referring to fig. 1, it shows an implementation environment related to the method for generating a flow questionnaire link provided by the embodiment of the present disclosure, and referring to fig. 1, the implementation environment includes: an electronic device, which may be a system composed of the terminal 101 and the server 102 shown in fig. 1.
The terminal 101 may be a smart phone, a notebook computer, a desktop computer, or the like, and the product type of the terminal 101 is not specifically limited in the embodiment of the present disclosure. The server 102 is a background server of the streaming program, and the server 102 may be an independent physical server, or a server cluster or a distributed system formed by a plurality of physical servers.
In a possible implementation environment, the terminal 101 has a display screen and is capable of displaying a flow questionnaire generating interface, the flow questionnaire generating interface is used for generating flow questionnaires corresponding to different flow points, a flow questionnaire link generating control is displayed on the flow questionnaire generating interface, in response to a touch operation on the flow questionnaire link generating control, the terminal 101 is capable of sending the generated flow questionnaire of the flow points to the server 102, and obtaining a storage address of the flow questionnaire in the server by sending an address obtaining request to the server 102, and further obtaining the flow questionnaire link of the flow points by splicing the storage address with a domain name of a flow program. The server 102 receives and stores the flow questionnaire sent by the terminal 101, and further sends the storage address of the flow questionnaire in the server 102 to the terminal 101 after receiving the address acquisition request sent by the terminal 101, thereby enabling the terminal 101 to generate a flow questionnaire link of a flow point.
In another possible implementation environment, the terminal 101 has a display screen and is capable of displaying a flow questionnaire generating interface, the flow questionnaire generating interface is used for generating flow questionnaires corresponding to different flow points, a flow questionnaire link generating control is displayed on the flow questionnaire generating interface, and in response to a touch operation on the flow questionnaire link generating control, the terminal 101 is capable of sending the generated flow questionnaire at the flow point to the server 102 and further receiving the flow questionnaire link at the flow point sent by the server 102. The server 102 receives and stores the flow questionnaire sent by the terminal 101, and then obtains a flow questionnaire link of a flow modulation point by splicing the storage address of the flow questionnaire in the server 102 with the domain name of the flow modulation program, and then sends the flow questionnaire link to the terminal 101.
The terminal 101 and the server 102 may be directly or indirectly connected through wired or wireless communication, and the embodiment of the present disclosure is not particularly limited thereto.
Based on the implementation environment shown in fig. 1, an embodiment of the present disclosure provides a method for generating a flow questionnaire, and referring to fig. 2, a flow of the method provided by the embodiment of the present disclosure includes:
201. a flow questionnaire generation interface is displayed.
The flow questionnaire generating interface is used for generating flow questionnaires corresponding to the flow modulation points, and a flow questionnaire link generating control is displayed on the flow modulation questionnaire generating interface.
202. And responding to the touch operation of the generation control of the flow questionnaire link, and sending the flow questionnaire to a background server of the flow modulation program.
203. And acquiring the storage address of the flow call questionnaire in a background server of the flow call program.
204. Based on the storage address and the domain name of the flow call program, a flow call questionnaire link for the flow call point is generated.
According to the method provided by the embodiment of the disclosure, after the staff of the flow adjustment department configures the flow adjustment questionnaire on the flow adjustment questionnaire generation interface, the generated flow adjustment questionnaire can be sent to the background server of the flow adjustment program through the touch operation of the flow adjustment questionnaire link generation control on the flow adjustment questionnaire generation interface, and the storage address of the flow adjustment questionnaire in the background server of the flow adjustment program is obtained, so that the flow adjustment questionnaire link is automatically generated based on the storage address and the domain name of the flow adjustment program. Because complex operation is not needed, the generation mode of the flow adjustment questionnaire link is simpler and quicker, and the flow adjustment information acquisition service can be quickly provided for disease control departments.
In another embodiment of the present disclosure, obtaining a storage address of a flow questionnaire in a background server of a flow calling program comprises:
acquiring a questionnaire identifier, a flow calling program identifier and a page path of the flow calling questionnaire in a flow calling program of the flow calling questionnaire;
sending an address acquisition request to a background server of the flow modulation program, wherein the address acquisition request comprises a questionnaire identifier of the flow modulation questionnaire, a flow modulation program identifier and a page path, and the address acquisition request is used for requesting the background server of the flow modulation program to return a storage address;
and receiving a storage address returned by the background server of the flow call program.
In another embodiment of the present disclosure, before sending the address obtaining request to the background server of the streaming program, the method further includes:
acquiring name information of the stream modulation point;
generating an encryption identifier of the flow modulation questionnaire according to the name information of the flow modulation point;
encrypting the questionnaire identification based on the encryption identification to obtain an encrypted questionnaire identification;
sending an address acquisition request to a background server of the streaming program, comprising:
and carrying the encrypted questionnaire identification, the flow calling program identification and the page path in the address acquisition request and sending the address acquisition request to a background server of the flow calling program.
In another embodiment of the present disclosure, the name information of the flow dispatching point includes a flow dispatching organization name and a flow dispatching department name of the flow dispatching point, and the generating of the encrypted identifier corresponding to the flow dispatching questionnaire according to the name information of the flow dispatching point includes:
splicing characters corresponding to the mechanism names and characters corresponding to the department names into a character string;
and generating an encryption identifier corresponding to the flow questionnaire according to the length of the character string and the character code corresponding to each character in the character string.
In another embodiment of the present disclosure, generating an encrypted identifier corresponding to a stream questionnaire according to the length of the character string and the character code corresponding to each character in the character string includes:
dividing the character code corresponding to each character in the character string by the length of the character string to obtain the remainder corresponding to each character;
and splicing the remainders corresponding to the characters to obtain the encrypted identifier.
In another embodiment of the disclosure, generating a flow call questionnaire link for a flow call point based on a storage address and a domain name of a flow call program comprises:
and splicing the storage addresses to the preset position of the domain name of the flow modulation program to obtain a flow modulation questionnaire link.
In another embodiment of the present disclosure, after generating the link to the flow modulation questionnaire of the flow modulation point, the method further includes:
and sending the flow questionnaire link by adopting a preset sending mode.
All the above optional technical solutions may be combined arbitrarily to form the optional embodiments of the present disclosure, and are not described herein again.
Based on the implementation environment shown in fig. 1, taking the terminal 101 in fig. 1 as an example to execute the embodiment of the present disclosure, the embodiment of the present disclosure provides a method for generating a flow questionnaire, and referring to fig. 3, a flow of the method provided by the embodiment of the present disclosure includes:
301. the terminal displays a flow questionnaire generation interface.
In the epidemic spread period, the flow regulation information collected based on the flow regulation questionnaire plays an important role in epidemic situation prevention and control. Based on the collected flow regulation information, the method can be used for tracking infection sources, finding potential patients in close contact, developing medical isolation and observation, describing or analyzing epidemiology, mining and finding disease transmission rules and the like. To obtain these important pieces of flow modulation information, the terminal generates a flow modulation questionnaire capable of collecting flow modulation information at different flow modulation points. The flow regulation point refers to an organization performing epidemic investigation, and may be a hospital, a research institute, a disease control center, and the like, and the flow regulation point is not specifically limited in the embodiments of the present disclosure.
In the embodiment of the present disclosure, the generation scenario of the flow questionnaire includes, but is not limited to, the following:
in the first scenario, as epidemic diseases spread, new flow regulation points are added, and a flow regulation questionnaire needs to be generated for the added flow regulation points. For example, the original flow regulation points are hospital a, hospital B and hospital C, and with the spread of epidemic diseases, hospital D also begins to have epidemic situations, and in order to better control the spread of epidemic situations, it is necessary to generate corresponding flow regulation questionnaires for hospital D.
In the second scenario, in the epidemic spread process, the flow adjustment item changes, and at this time, a new flow adjustment item needs to be added on the basis of the original flow adjustment questionnaire to generate a new flow adjustment questionnaire conforming to the current form. For example, as epidemic disease spreads, the original strain is mutated, and in order to better understand the variant strain, it is necessary to add a new influenza program for the variant strain on the basis of the original influenza questionnaire.
In the embodiment of the present disclosure, a flow questionnaire generating interface is displayed on the terminal, and the flow questionnaire generating interface is a flow questionnaire generating interface and is used for generating a corresponding flow questionnaire for any flow point. When the staff of the disease control department needs to generate the flow questionnaire for a certain flow point according to any one of the above-mentioned generation scenarios of the flow questionnaire, the staff of the disease control department can configure each flow item on the flow questionnaire generation interface according to the actual requirements, the content of the flow item includes the question and answer requirements, and the like.
In the embodiment of the disclosure, a flow modulation questionnaire link generation control is displayed on the flow modulation questionnaire generation interface, the flow modulation questionnaire link generation control is used for generating a corresponding flow modulation questionnaire link for the flow modulation questionnaire configured on the flow modulation questionnaire generation interface, and the flow modulation questionnaire link can be carried in a short message, a mail, an instant message and the like and sent to a target user, so that the target user fills in a corresponding answer or selects a corresponding answer, and flow modulation information of a flow modulation point is collected.
302. And responding to the touch operation of the control generated aiming at the flow questionnaire link, and sending the flow questionnaire to a background server of the flow modulation program by the terminal.
When the staff of the disease control department configures each flow adjustment project on the flow adjustment questionnaire generation interface, the staff can touch the flow adjustment questionnaire link generation control, respond to the touch operation of the flow adjustment questionnaire generation control, the terminal obtains the generated flow adjustment questionnaire, and then sends the flow adjustment questionnaire to the background server of the flow adjustment program. In order to reduce the amount of transmitted data, increase the data transmission speed, and reduce the packet loss rate when the network environment is poor, before the terminal sends the flow adjustment questionnaire to the background server of the flow adjustment program, the terminal may first generate the two-dimensional code corresponding to the flow adjustment questionnaire, and then send the two-dimensional code corresponding to the flow adjustment questionnaire to the background server corresponding to the flow adjustment program. When the terminal sends the flow call questionnaire to the background server corresponding to the flow call program, the flow call questionnaire can be sent through a communication interface between the terminal and the background server of the flow call program.
And when receiving the flow questionnaire sent by the terminal, the background server of the flow calling program stores the flow calling questionnaire, so that the target user can fill in the flow calling questionnaire by accessing the background server of the flow calling program. If the terminal sends the two-dimensional code corresponding to the flow adjustment questionnaire, the background server of the flow adjustment program needs to decode the two-dimensional code after receiving the two-dimensional code corresponding to the flow adjustment questionnaire so as to obtain the flow adjustment questionnaire, and then stores the two-dimensional code.
303. And the terminal acquires the storage address of the flow questionnaire in a background server of the flow calling program.
The storage address of the flow questionnaire in the background server of the flow adjustment program is used for searching the flow questionnaire in the background server of the flow adjustment program. In order to enable a target user needing to collect flow modulation information to quickly access a flow modulation questionnaire in a flow modulation program, after the terminal sends the flow modulation questionnaire to a background server of the flow modulation program, a storage address of the flow modulation questionnaire in the background server of the flow modulation program needs to be acquired. When the terminal acquires the storage address of the flow questionnaire in the background server of the flow calling program, the following method can be adopted:
3031. the terminal acquires a questionnaire identifier of the flow questionnaire, a flow calling program identifier and a page path of the flow calling questionnaire in the flow calling program.
The questionnaire identification of the flow modulation questionnaire is the unique identification of the flow modulation questionnaire and is used for distinguishing the flow modulation questionnaires of different flow modulation points. The questionnaire identification of the flow questionnaire can be a character string formed by one or more of numbers, letters, symbols and the like. The method for generating the questionnaire identifier of the flow questionnaire includes, but is not limited to, the following methods: the terminal decodes the two-dimensional code corresponding to the flow modulation questionnaire to obtain a two-dimensional code identifier, obtains name information of the flow modulation point from the flow modulation questionnaire, and generates the questionnaire identifier of the flow modulation questionnaire based on the two-dimensional code identifier and the name information of the flow modulation point.
The terminal can randomly combine English abbreviation of mechanism name of the flow modulation point with the two-dimension code identification to obtain the questionnaire identification of the flow modulation questionnaire when generating the questionnaire identification of the flow modulation questionnaire based on the two-dimension code identification corresponding to the flow modulation questionnaire and the name information of the flow modulation point. For example, the organization name of the flow modulation point is ' Hospital ' with national organization ' and the two-dimensional code is identified as 55482521458, the terminal can randomly combine ' jgm ' and ' 55482521458 ' to obtain a questionnaire of the flow modulation questionnaire, which is identified as 55482j5214m58 g. For another example, the organization name of the flow adjustment point is "wye gate hospital", the two-dimensional code is identified as 88745632557, and the terminal can randomly combine "hym" and "88745632557" to obtain a questionnaire of the flow adjustment questionnaire, which is identified as 88745h6325m57 y.
When the terminal sends the generated flow adjustment questionnaire to a background server of the flow adjustment program, the terminal acquires a flow adjustment program identifier of the flow adjustment program, and the flow adjustment program identifier is used for uniquely identifying the flow adjustment program. After the background server of the flow calling program stores the flow calling questionnaire sent by the terminal, the background server of the flow calling program returns the page path of the flow calling questionnaire in the flow calling program to the terminal, and the terminal obtains the page path of the flow calling questionnaire in the flow calling program according to the page path.
3032. And the terminal sends an address acquisition request to a background server of the flow-tuning program.
The address acquisition request comprises a questionnaire identifier of a flow call questionnaire, a flow call program identifier, a page path and the like, and is used for requesting a background server of the flow call program to return a storage address.
In another embodiment of the present disclosure, in order to improve the security of data during transmission, before sending an address acquisition request to a background server of a flow modulation program, a terminal may generate an encryption identifier of a flow modulation questionnaire, and then encrypt the questionnaire identifier of the flow modulation questionnaire based on the encryption identifier, so as to carry the encrypted questionnaire identifier, the flow modulation program identifier, and a page path in the address acquisition request and send the address acquisition request to the background server of the flow modulation program. When the terminal generates the encrypted identifier of the flow questionnaire, the following steps can be adopted:
firstly, the terminal acquires the name information of the stream scheduling point.
The name information of the flow dispatching point comprises an organization name, a flow dispatching department name and the like of the flow dispatching point.
And secondly, generating an encryption identifier of the flow modulation questionnaire by the terminal according to the name information of the flow modulation point.
(1) And the terminal splices the characters corresponding to the mechanism names and the characters corresponding to the department names into a character string.
The characters corresponding to the organization names can be Chinese names of the organizations, and the characters corresponding to the department names can be Chinese names of the departments. When the terminal splices the characters corresponding to the mechanism name and the department name, the mechanism name and the department name can be used as a whole, the mechanism name is spliced behind the department name, the department name can also be spliced behind the mechanism name, of course, the terminal can also splice the characters contained in the mechanism name and the department name at random, and the embodiment of the disclosure does not limit the specific splicing mode.
(2) And the terminal generates an encryption identifier corresponding to the flow questionnaire according to the length of the character string and the character code corresponding to each character in the character string.
And the terminal determines the length of the spliced character string according to the number of characters contained in the spliced character string. For example, if the concatenated string includes 5 words, the length of the concatenated string is 5. And the terminal acquires the character code corresponding to each character in the spliced character string, and further generates the encryption identifier corresponding to the flow modulation questionnaire based on the length of the character string and the character code corresponding to each character in the character string.
Specifically, the terminal may divide the character code corresponding to each character in the character string by the length of the character string to obtain a remainder corresponding to each character, and further splice the remainders corresponding to each character to obtain the encrypted identifier. When the terminal splices the remainders corresponding to the characters, the remainders corresponding to the characters can be spliced according to the positions of the characters in the character string, and the remainders corresponding to the characters can also be randomly spliced.
3033. And the terminal receives a storage address returned by the background server of the flow calling program.
When receiving an address acquisition request sent by the terminal, the background server of the flow call program generates a storage address based on the questionnaire identification, the flow call program identification, the page path and the like of the flow call questionnaire, and then returns the storage address to the terminal. When the background server of the flow adjustment program generates the storage address, the questionnaire identification, the flow adjustment program identification and the page path of the flow adjustment questionnaire can be spliced to obtain the storage address. And when splicing is carried out, splicing the questionnaire identification, the flow calling program identification and the page path of the flow calling questionnaire as a whole.
In another embodiment of the present disclosure, if the backend server of the flow call program receives the encrypted questionnaire identifier, the backend server of the flow call program needs to decrypt the encrypted questionnaire identifier first, and then generate the storage address based on the decrypted questionnaire identifier.
304. And the terminal generates a flow call questionnaire link of the flow call point based on the storage address and the domain name of the flow call program.
The domain name is also called a network domain, and is the name of a certain computer or a computer group on the internet which consists of a string of names separated by points, and is used for positioning and identifying the computer during data transmission. Based on the acquired storage address of the flow questionnaire in the background server of the flow modulation program, the terminal splices the storage address to the preset position of the domain name of the flow modulation program, and the flow modulation questionnaire link can be obtained. The preset position may be after the domain name of the flow modulation program, and the like. Because the domain name of the flow adjusting program is the access address of the flow adjusting program on the internet, and the storage address is the storage address of the flow adjusting volume on the background server of the flow adjusting program, the user can access the background server of the flow adjusting program based on the flow adjusting volume link generated by the storage address and the domain name of the flow adjusting program, and then the flow adjusting volume is loaded and displayed.
305. And the terminal transmits the flow questionnaire link in a preset transmission mode.
And when the flow questionnaire link of the flow questionnaire is generated, the terminal can display the flow questionnaire link on a flow questionnaire generation interface, and further send the flow questionnaire link to a target user in a preset sending mode. The preset mode can be short message, mail, instant messaging and the like, and the embodiment of the disclosure does not limit the preset mode and can be selected according to requirements during specific use. For example, the staff may directly select a target user who wants to send, and then send the flow questionnaire link to the target user through the short message sending function. For another example, the staff may copy the flow questionnaire link and send it to the target user by mail.
According to the method provided by the embodiment of the disclosure, after the staff of the flow adjustment department configures the flow adjustment questionnaire on the flow adjustment questionnaire generation interface, the generated flow adjustment questionnaire can be sent to the background server of the flow adjustment program through the touch operation of the flow adjustment questionnaire link generation control on the flow adjustment questionnaire generation interface, and the storage address of the flow adjustment questionnaire in the background server of the flow adjustment program is obtained, so that the flow adjustment questionnaire link is automatically generated based on the storage address and the domain name of the flow adjustment program. Because complex operation is not needed, the generation mode of the flow adjustment questionnaire link is simpler and quicker, and the flow adjustment information acquisition service can be quickly provided for disease control departments.
Based on the implementation environment shown in fig. 1, taking the terminal 101 and the server 102 in fig. 1 as an example to execute the embodiment of the present disclosure, the embodiment of the present disclosure provides a method for generating a flow questionnaire, and referring to fig. 4, a method flow provided by the embodiment of the present disclosure includes:
401. the terminal displays a flow questionnaire generation interface.
This step is the same as the implementation of step 301, and refer to step 301 specifically, which is not described herein again.
402. And responding to the touch operation of the control generated aiming at the flow questionnaire link, and sending the flow questionnaire to a background server of the flow modulation program by the terminal.
This step is the same as the implementation of step 302, and refer to step 302 above specifically, which is not described herein again.
403. And the background server of the flow adjusting program generates a flow adjusting questionnaire link of the flow adjusting point based on the storage address of the flow adjusting questionnaire and the domain name of the flow adjusting program, and sends the flow adjusting questionnaire link to the terminal.
And when receiving the flow questionnaire sent by the terminal, the background server of the flow calling program stores the flow calling questionnaire. In order to reduce the processing pressure of the terminal, when receiving the flow questionnaire sent by the terminal, the background server of the flow modulation program may further generate a flow modulation questionnaire link of a flow modulation point based on the storage address of the flow modulation questionnaire and the domain name of the flow modulation program, and further send the generated flow modulation questionnaire link to the terminal. For the process of generating the flow questionnaire link of the flow adjustment point based on the storage address of the flow adjustment questionnaire and the domain name of the flow adjustment program, refer to step 304 above, and details are not described here.
404. And the terminal receives the flow questionnaire link sent by the background server of the flow modulation program and sends the flow questionnaire link in a preset sending mode.
When the flow questionnaire link sent by the background server of the flow modulation program is received, the terminal can display the flow modulation questionnaire link on a flow modulation questionnaire generation interface, and then send the flow modulation questionnaire link to a target user in a preset sending mode. The preset mode can be short message, mail, instant messaging and the like, and the embodiment of the disclosure does not limit the preset mode and can be selected according to requirements during specific use.
Referring to fig. 5, an embodiment of the present disclosure provides an apparatus for generating a flow questionnaire, where the apparatus includes:
the display module 501 is configured to display a flow questionnaire generation interface, where the flow questionnaire generation interface is used to generate flow questionnaires corresponding to the flow questionnaires, and a flow questionnaire link generation control is displayed on the flow questionnaire generation interface;
a sending module 502, configured to send the flow questionnaire to a background server of the flow modulation program in response to a touch operation of a control generated for the flow modulation questionnaire link;
an obtaining module 503, configured to obtain a storage address of the flow questionnaire in a background server of the flow modulation program;
a generating module 504, configured to generate a flow call questionnaire link for the flow call point based on the storage address and the domain name of the flow call program.
In another embodiment of the present disclosure, the obtaining module 503 is configured to obtain a questionnaire identifier of the flow call questionnaire, a flow call program identifier, and a page path of the flow call questionnaire in the flow call program; sending an address acquisition request to a background server of the flow modulation program, wherein the address acquisition request comprises a questionnaire identifier of the flow modulation questionnaire, a flow modulation program identifier and a page path, and the address acquisition request is used for requesting the background server of the flow modulation program to return a storage address; and receiving a storage address returned by the background server of the flow call program.
In another embodiment of the present disclosure, the obtaining module 503 is further configured to obtain name information of the stream scheduling point;
the generating module 504 is further configured to generate an encrypted identifier of the flow modulation questionnaire according to the name information of the flow modulation point;
the encryption module is used for encrypting the questionnaire identification based on the encryption identification to obtain the encrypted questionnaire identification;
the sending module 502 is further configured to send the encrypted questionnaire identifier, the flow calling program identifier, and the page path to the background server of the flow calling program, where the questionnaire identifier, the flow calling program identifier, and the page path are carried in the address acquisition request.
In another embodiment of the present disclosure, the name information of the flow adjustment point includes a flow adjustment mechanism name and a flow adjustment department name of the flow adjustment point, and the generating module 504 is further configured to splice characters corresponding to the mechanism name and characters corresponding to the department name into a character string; and generating an encryption identifier corresponding to the flow questionnaire according to the length of the character string and the character code corresponding to each character in the character string.
In another embodiment of the present disclosure, the generating module 504 is configured to divide a character code corresponding to each character in the character string by the length of the character string to obtain a remainder corresponding to each character; and splicing the remainders corresponding to the characters to obtain the encrypted identifier.
In another embodiment of the present disclosure, the generating module 504 is configured to splice the storage addresses to preset positions of domain names of the flow call program, so as to obtain a flow call questionnaire link.
In another embodiment of the present disclosure, the sending module 502 is further configured to send the questionnaire link by using a preset sending method.
In summary, with the apparatus provided in the embodiment of the present disclosure, after the staff of the flow adjustment department configures the flow adjustment questionnaire on the flow adjustment questionnaire generation interface, the staff can send the generated flow adjustment questionnaire to the background server of the flow adjustment program through the touch operation of the flow adjustment questionnaire link generation control on the flow adjustment questionnaire generation interface, and obtain the storage address of the flow adjustment questionnaire in the background server of the flow adjustment program, so that the flow adjustment questionnaire link is automatically generated based on the storage address and the domain name of the flow adjustment program. Because complex operation is not needed, the generation mode of the flow adjustment questionnaire link is simpler and quicker, and the flow adjustment information acquisition service can be quickly provided for disease control departments.
Fig. 6 shows a block diagram of an electronic device 600 according to an exemplary embodiment of the present disclosure. In general, the apparatus 600 includes: a processor 601 and a memory 602.
The processor 601 may include one or more processing cores, such as a 4-core processor, an 8-core processor, and so on. The processor 601 may be implemented in at least one hardware form of a DSP (Digital Signal Processing), an FPGA (Field-Programmable Gate Array), and a PLA (Programmable Logic Array). The processor 601 may also include a main processor and a coprocessor, where the main processor is a processor for Processing data in an awake state, and is also called a Central Processing Unit (CPU); a coprocessor is a low power processor for processing data in a standby state. In some embodiments, the processor 601 may be integrated with a GPU (Graphics Processing Unit), which is responsible for rendering and drawing the content required to be displayed on the display screen. In some embodiments, processor 601 may also include an AI (Artificial Intelligence) processor for processing computational operations related to machine learning.
The memory 602 may include one or more computer-readable storage media, which may be non-transitory. The memory 602 may also include high-speed random access memory, as well as non-volatile memory, such as one or more magnetic disk storage devices, flash memory storage devices. In some embodiments, a non-transitory computer readable storage medium in memory 602 is used to store at least one instruction for execution by processor 601 to implement the method for generating a flow questionnaire link provided by the method embodiments of the present disclosure.
In some embodiments, the electronic device 600 may further optionally include: a peripheral interface 603 and at least one peripheral. The processor 601, memory 602, and peripheral interface 603 may be connected by buses or signal lines. Various peripheral devices may be connected to the peripheral interface 603 via a bus, signal line, or circuit board. Specifically, the peripheral device includes: a power supply 604.
The peripheral interface 603 may be used to connect at least one peripheral related to I/O (Input/Output) to the processor 601 and the memory 602. In some embodiments, the processor 601, memory 602, and peripheral interface 603 are integrated on the same chip or circuit board; in some other embodiments, any one or two of the processor 601, the memory 602, and the peripheral interface 603 may be implemented on a separate chip or circuit board, which is not limited in this embodiment.
The power supply 604 is used to power the various components in the electronic device 600. The power source 604 may be alternating current, direct current, disposable batteries, or rechargeable batteries. When the power source 604 includes a rechargeable battery, the rechargeable battery may be a wired rechargeable battery or a wireless rechargeable battery. The wired rechargeable battery is a battery charged through a wired line, and the wireless rechargeable battery is a battery charged through a wireless coil. The rechargeable battery may also be used to support fast charge technology.
Those skilled in the art will appreciate that the configuration shown in fig. 6 does not constitute a limitation of the electronic device 600, and may include more or fewer components than those shown, or combine certain components, or employ a different arrangement of components.
In an exemplary embodiment, a computer-readable storage medium comprising instructions, such as a memory comprising instructions, executable by a processor of the electronic device 600 to perform the method for generating a flow questionnaire link described above is also provided. Alternatively, the storage medium may be a non-transitory computer readable storage medium, which may be, for example, a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
The computer readable storage medium provided by the embodiment of the disclosure stores at least one program code, and the at least one program code is loaded and executed by a processor to implement the method for generating the stream questionnaire link. The computer readable storage medium may be non-transitory. For example, the computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
The disclosed embodiments provide a computer program product comprising computer program code stored in a computer readable storage medium, a processor of an electronic device reading the computer program code from the computer readable storage medium, the processor executing the computer program code to cause the electronic device to perform a method of generating a flow questionnaire link.
It will be understood by those skilled in the art that all or part of the steps for implementing the above embodiments may be implemented by hardware, or may be implemented by a program instructing relevant hardware, where the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a magnetic disk or an optical disk, etc.
The above description is intended to be exemplary only and not to limit the present disclosure, and any modification, equivalent replacement, or improvement made without departing from the spirit and scope of the present disclosure is to be considered as the same as the present disclosure.

Claims (11)

1. A method for generating a flow questionnaire link, the method comprising:
displaying a flow questionnaire generation interface, wherein the flow questionnaire generation interface is used for generating flow questionnaires corresponding to the flow questionnaires, and a flow questionnaire link generation control is displayed on the flow questionnaire generation interface;
responding to touch operation of a control generated according to the flow questionnaire link, and sending the flow questionnaire to a background server of a flow modulation program;
acquiring a storage address of the flow call questionnaire in a background server of the flow call program;
and generating a flow modulation questionnaire link of the flow modulation point based on the storage address and the domain name of the flow modulation program.
2. The method of claim 1, wherein obtaining the storage address of the flow call questionnaire in a backend server of the flow call program comprises:
acquiring a questionnaire identifier of the flow adjusting questionnaire, a flow adjusting program identifier and a page path of the flow adjusting questionnaire in the flow adjusting program;
sending an address acquisition request to a background server of the flow modulation program, wherein the address acquisition request comprises a questionnaire identifier of the flow modulation questionnaire, the flow modulation program identifier and the page path, and the address acquisition request is used for requesting the background server of the flow modulation program to return the storage address;
and receiving the storage address returned by the background server of the flow call program.
3. The method of claim 2, wherein before sending the address acquisition request to the background server of the streaming program, further comprising:
acquiring name information of the flow adjustment point;
generating an encryption identifier of the flow modulation questionnaire according to the name information of the flow modulation point;
encrypting the questionnaire identification based on the encryption identification to obtain an encrypted questionnaire identification;
the sending an address acquisition request to a background server of the streaming program includes:
and carrying the encrypted questionnaire identification, the flow calling program identification and the page path in the address acquisition request and sending the address acquisition request to a background server of the flow calling program.
4. The method according to claim 3, wherein the name information of the flow modulation point includes a flow modulation organization name and a flow modulation department name of the flow modulation point, and the generating of the encrypted identifier corresponding to the flow modulation questionnaire according to the name information of the flow modulation point includes:
splicing the characters corresponding to the mechanism names and the characters corresponding to the department names into a character string;
and generating an encryption identifier corresponding to the flow questionnaire according to the length of the character string and the character code corresponding to each character in the character string.
5. The method according to claim 4, wherein the generating an encrypted identifier corresponding to the flow modulation questionnaire according to the length of the character string and a character code corresponding to each character in the character string comprises:
dividing the character code corresponding to each character in the character string by the length of the character string to obtain a remainder corresponding to each character;
and splicing the remainders corresponding to the characters to obtain the encrypted identifier.
6. The method of claim 1, wherein generating a flow call questionnaire link for the flow call point based on the storage address and a domain name of the flow call program comprises:
and splicing the storage addresses to a preset position of the domain name of the flow modulation program to obtain the flow modulation questionnaire link.
7. The method of claim 1, wherein after generating the link to the flow key point, further comprising:
and sending the flow questionnaire link by adopting a preset sending mode.
8. An apparatus for generating a flow questionnaire link, the apparatus comprising:
the display module is used for displaying a flow questionnaire generation interface, the flow questionnaire generation interface is used for generating flow questionnaires corresponding to the flow questionnaires, and a flow questionnaire link generation control is displayed on the flow questionnaire generation interface;
the sending module is used for responding to the touch operation of the flow questionnaire link generation control and sending the flow questionnaire to a background server of a flow modulation program;
the acquisition module is used for acquiring the storage address of the flow modulation questionnaire in a background server of the flow modulation program;
and the generating module is used for generating the flow call questionnaire link of the flow call point based on the storage address and the domain name of the flow call program.
9. An electronic device, comprising a processor and a memory, wherein at least one program code is stored in the memory, and the at least one program code is loaded and executed by the processor to implement the method for generating a flow questionnaire link according to any one of claims 1 to 7.
10. A computer-readable storage medium having stored therein at least one program code, which is loaded and executed by a processor, to implement the method of generating a flow questionnaire link of any of claims 1 to 7.
11. A computer program product, characterized in that the computer program product comprises computer program code, which is stored in a computer-readable storage medium, from which a processor of an electronic device reads the computer program code, the processor executing the computer program code, causing the electronic device to execute the method of generating a questionnaire link according to any of claims 1 to 7.
CN202210002868.XA 2022-01-04 2022-01-04 Method and device for generating flow questionnaire link, electronic equipment and storage medium Pending CN114300074A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210002868.XA CN114300074A (en) 2022-01-04 2022-01-04 Method and device for generating flow questionnaire link, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210002868.XA CN114300074A (en) 2022-01-04 2022-01-04 Method and device for generating flow questionnaire link, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN114300074A true CN114300074A (en) 2022-04-08

Family

ID=80975981

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210002868.XA Pending CN114300074A (en) 2022-01-04 2022-01-04 Method and device for generating flow questionnaire link, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN114300074A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115086268A (en) * 2022-07-27 2022-09-20 中国工商银行股份有限公司 Information collection method and device

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2000060490A2 (en) * 1999-04-03 2000-10-12 Muchoinfo.Com, Inc. Architecture for and method of collecting survey data in a network environment
JP6573345B1 (en) * 2018-09-20 2019-09-11 株式会社エクスリンク Questionnaire counting device, counting method, and counting program.

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2000060490A2 (en) * 1999-04-03 2000-10-12 Muchoinfo.Com, Inc. Architecture for and method of collecting survey data in a network environment
JP6573345B1 (en) * 2018-09-20 2019-09-11 株式会社エクスリンク Questionnaire counting device, counting method, and counting program.

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
赵腾月;安也涵;鲍一;赵晓岑;陈子英;张文立;王圆圆;: "微信群联合问卷星在专硕班疫情防控中的应用", 中国高等医学教育, no. 06, 15 June 2020 (2020-06-15), pages 46 - 47 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115086268A (en) * 2022-07-27 2022-09-20 中国工商银行股份有限公司 Information collection method and device

Similar Documents

Publication Publication Date Title
US10218657B2 (en) Method and system for providing private chat within a group chat
CN111756917B (en) Information interaction method, electronic device and computer readable medium
JP7483929B2 (en) Method and apparatus for evaluating jointly trained models - Patents.com
KR20150064063A (en) Secure identification of computing device and secure identification methods
CN112257108B (en) Data desensitization method and device, medium and electronic equipment
JP2022533203A (en) How and equipment to insert information into online documents
CN110162526A (en) Querying method, device and the equipment of data record in a kind of piece of chain type account book
RU2014103321A (en) METHOD, SERVER AND SYSTEM FOR HUMAN IDENTIFICATION
CN111753324B (en) Private data processing method, private data computing method and applicable equipment
CN110377440B (en) Information processing method and device
CN111797351A (en) Page data management method and device, electronic equipment and medium
JP2022531339A (en) Resource configuration method, resource configuration device, computer equipment, and computer program
CN109981719A (en) Information processing method and its system, computer system and computer readable medium
JP2018506793A (en) Method, apparatus, system and computer program for providing a rich menu of official accounts in an instant messaging service
CN113822974A (en) Method, apparatus, electronic device, medium, and program for generating avatar
CN111881209A (en) Data synchronization method and device for heterogeneous database, electronic equipment and medium
CN114300074A (en) Method and device for generating flow questionnaire link, electronic equipment and storage medium
CN112148744A (en) Page display method and device, electronic equipment and computer readable medium
US10558507B1 (en) Inbound testing tool
CN108810105A (en) For pushed information, the method and apparatus for showing information
US20220191024A1 (en) Context based secure communication
CN112260933B (en) Communication method, communication device, electronic equipment and medium
CN113467823A (en) Configuration information acquisition method, device, system and storage medium
CN111552715A (en) User query method and device
CN109783674A (en) Image identification method, device, system, computer equipment and storage medium

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