CN104182501B - Remote reserved clinic system - Google Patents

Remote reserved clinic system Download PDF

Info

Publication number
CN104182501B
CN104182501B CN201410405798.8A CN201410405798A CN104182501B CN 104182501 B CN104182501 B CN 104182501B CN 201410405798 A CN201410405798 A CN 201410405798A CN 104182501 B CN104182501 B CN 104182501B
Authority
CN
China
Prior art keywords
data
code
coding
information
module
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.)
Expired - Fee Related
Application number
CN201410405798.8A
Other languages
Chinese (zh)
Other versions
CN104182501A (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.)
Individual
Original Assignee
Individual
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 Individual filed Critical Individual
Priority to CN201410405798.8A priority Critical patent/CN104182501B/en
Publication of CN104182501A publication Critical patent/CN104182501A/en
Application granted granted Critical
Publication of CN104182501B publication Critical patent/CN104182501B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/958Organisation or management of web site content, e.g. publishing, maintaining pages or automatic linking
    • G06F16/972Access to data in other repository systems, e.g. legacy data or dynamic Web page generation
    • 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/951Indexing; Web crawling techniques

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer And Data Communications (AREA)

Abstract

The present invention provides a kind of remote reserved clinic system, including patient terminal, doctor terminal, server, the server are connected by wireless network with patient terminal, doctor terminal;The patient terminal includes patient and preengages module, patient data coding/decoding module, patient's display module, information inquiry module;The doctor terminal includes doctor's reservation processing module, doctor data coding/decoding module, doctor's display module;The server includes control module, information storage module, server data coding/decoding module.The present invention is gradually encoded using distinctive coding mode to various types of data slots in data, recodification data capacity is small, uniform format, the transmission efficiency of data is improved, alleviate the load of server, ensure server normal operation, and Effective judgement is carried out to data using distinctive judgment principle, invalid data is abandoned, further improves transmission rate, server load is reduced, ensures the efficiency of whole system.

Description

Remote reserved clinic system
Technical field
The present invention relates to hospital information system field, and in particular to a kind of remote reserved clinic system.
Background technology
Clinically, need to register before patient assessment.Registering must be complete by artificial window services, the form of cash transaction Into, it is extremely inconvenient, therefore there is the appointment registration system for facilitating patient to preengage.Appointment registration system bag disclosed in prior art Patient terminal, doctor terminal and server are included, each terminal is communicated with server by network connection, and the type of each terminal can be with It is the communication equipment that mobile phone, computer etc. can network, and the data transmitted also have polytype, such as word, image, audio, regard Frequency etc.;The variation of terminal and data cause existing appointment registration system occur low data transmission efficiency, server congestion, The shortcomings of communication efficient declines.
The content of the invention
The present invention is intended to provide a kind of remote reserved clinic system, the defects of system overcomes above-mentioned prior art, have The advantages of efficiency of transmission is high, server load is small, data validity is high.
Technical scheme is as follows:A kind of remote reserved clinic system, including patient terminal, doctor terminal, service Device,
The server is connected by wireless network with patient terminal, doctor terminal;
The patient terminal includes patient and preengages module, patient data coding/decoding module, patient's display module;
The patient preengages module by the reserve requests information transfer that patient inputs to patient data coding/decoding module;
The patient data coding/decoding module pre-arranged code rule, receive the reserve requests letter that module is preengage from patient Breath, reserve requests information be encoded to the data of unified form, is then forwarded to server;Patient data coding/decoding module The data from server are received, corresponding coding rule obtains preengaging object information after being decoded, reservation object information is passed Patient's display module is transported to show;
The doctor terminal includes doctor's reservation processing module, doctor data coding/decoding module, doctor's display module;
Doctor's reservation processing module transmits doctor's processing information to doctor data coding/decoding module;
The doctor data coding/decoding module pre-arranged code rule, receives the information from doctor's reservation processing module, will Information is encoded to the data of unified form, is then forwarded to server;The doctor data coding/decoding module is received from service The data of device, corresponding coding rule obtain preengaging object information after being decoded, reservation object information are transmitted to doctor and shown Module is shown;
The server includes control module, information storage module, server data coding/decoding module;
The reserve requests information of the control module the reception server data coding/decoding module transmission, stores to information and stores Module;Doctor's processing information of the control module the reception server data coding/decoding module transmission, according to doctor's processing information Obtain accordingly preengaging object information, and send to information storage module and server data coding/decoding module;
Described information memory module storage patient's reserve requests information, the reservation object information of doctor, are adjusted for control module With, and modification is updated to the information of storage according to the information received;
The server data coding/decoding module pre-arranged code rule, receives the reserve requests Information Number from patient terminal According to or from doctor terminal doctor's processing information data;The server data coding/decoding module is by reserve requests information data Transmit to doctor terminal, transmitted after coding rule decoding is corresponded to reserve requests information data and doctor's processing information data to control Molding block;The data for, to the reservation object information of control module, to be encoded to unified form are received to send to patient terminal and doctor Raw terminal.
Described patient terminal, doctor terminal, server also include the processing structure for facilitating patient query's reservation information, institute The patient terminal stated includes information inquiry module;The inquiry request information transfer that described information enquiry module inputs patient is extremely suffered from Person's data coding/decoding module;
The patient data coding/decoding module receives the information from information inquiry module, encodes information onto as unified form Data, be then forwarded to server;Patient data coding/decoding module receives the data from server, and corresponding coding rule enters Query Result information is obtained after row decoding, Query Result information transfer to patient's display module is shown;
The inquiry request information of the control module the reception server data coding/decoding module transmission, recalls information storage mould Medical information in block is transmitted to server data coding/decoding module;
Described information memory module is also stored with the medical information of hospital;
The server data coding/decoding module receives the data that the transmission of patient data coding/decoding module comes, corresponding coding rule Obtain inquiry request information after then being decoded, and by inquiry request information transfer to control module;The server data is compiled The medical information that the transmission of decoder module receive and control module comes, data transfer to the patient data for being encoded to unified form are compiled Decoder module.
The process of the above-mentioned data for being encoded to unified form includes following content:
A. the coding rule of custom code is included according to data type setting, is preset with corresponding with each data type Code name and false code, described data type include word, picture, the time, Voice & Video is therein a kind of or a kind of Combination above;
B. the fragment for meeting encoding condition in the data of each type is encoded according to coding rule, for containing more The data of individual categorical data fragment, the data slot of wherein each type is gradually carried out according to its corresponding coding rule respectively Coding, the described coding rule comprising custom code are that the code snippet for meeting encoding condition is replaced with corresponding code name, The quantity that coding period division is replaced every time is identical;
C. the data slot that completion is encoded in step b is merged, then Uniform compilation is into character string;
D. the obtained character strings of step c are packaged using the header information of HTTP, after encapsulation according to Binary coding method coding generation sends data.
Merge in described step c and refer to:Parameter, the fixed character used and logic in each data slot are closed The number of system obtains the property parameters value of each data slot, and the property parameters value sum for calculating each data slot obtains sending parameter And value, using code name caused by each coding as row vector, and longitudinal arrangement forms iteration code name matrix, after step b is encoded All types of data slots before and after connect its corresponding custom code respectively after concatenated again, will finally send parameter and value Data slot front end is placed in after being concatenated with iteration code name matrix data, that is, completes to merge, wherein corresponding to x-th of data slot certainly Definition code=[(code name of false code+x-th corresponding to x-th of data slot), encoding times N], 1≤x≤N, 1≤N≤24.
The corresponding code name of all types of data slots, the corresponding relation of corresponding false code are as follows:Lteral data is corresponding Code name is w, and corresponding false code is f;It is i that image data, which corresponds to code name, and corresponding false code is p, and it is t that time data, which corresponds to code name, Corresponding false code is d, and it is u that voice data, which corresponds to code name, and corresponding false code is s, and it is v that video data, which corresponds to code name, corresponding pseudo- generation Code is V.
It is scenario described below to meet the meaning that the encoding condition refers to that the code snippet represents:
(1) parameter setting of data, such as the type of data, value, size etc. are represented;
(2) regulation or the fixed character used in data, such as form are represented;
(3) attribution data logical relation is represented, such as belongs to certain doctor or the restriction of certain section office.
Into character string, utilization is UTF-8 coding methods to carry out for Uniform compilation described in the step c.
It is described decoded with coding rule after, in addition to following processing step:
A, obtain the transmission parameter and value in data, and the parameter to identifying to obtain after decoding, the fixed character used and The number of logical relation sums up, and is identified parameter and value, if transmission parameter and value are identical with identification parameter and value, enters Enter step b, if transmission parameter and value are different from identification parameter and value, abandon the data;
B, the validity of data is judged using each validity parameter, if data are effective, into step c, if number According to invalid, then the data are abandoned;
C, extract each custom code in data slot, the code name corresponding from custom code as element form it is capable to Amount, by each row vector, longitudinally superposition forms custom code matrix successively, compares custom code matrix and iteration code name matrix, If they are equal, data are effective;The on the contrary then data invalid, abandons the data.
The validity parameter includes:Total number of characters L of data, code name type ASCII character, code name type number Km, Custom code ASCII character, code name gap character number c, code name number m, custom code type number n, custom code Number Kn, the interval number of seconds T for sending data.
Described Effective judgement condition is as follows:
For total number of characters L of data, work as L<274, data invalid;When L >=274, data are effective;
For code name type ASCII character, when code name type ASCII character ≠ definition code name ASCII character, data invalid;The present age Number type ASCII character=definition code name ASCII character, data are effective;
For code name type number Km, work as Km<3 data invalids;When Km >=3, data are effective;
For code name gap character number c, work as c<1, data invalid;When c >=1, data are effective;
For code name number m, work as m<3, data invalid;When m >=3, data are effective;
For custom code type number n, work as n<3, data invalid;When n >=3, data are effective;
For custom code number Kn, when Kn is odd number, data invalid;When Kn is even number, data are effective;
For custom code ASCII character, when custom code ASCII character is null value, data invalid, work as custom code ASCII character is non-null value, and data are effective;
Interval number of seconds T for sending data, works as T<8, data invalid;As 8≤T<13, data are effective.
Technical scheme also includes following data validity judgement after being decoded to data and handled:
1st, contrast judgement is carried out to sending parameter and value and identification parameter and value:
Send parameter and value reflects the number summation for sending parameter in data, equal to total of replacement code name when encoding Number, is generated in encoded;Identification parameter and value reflect the number summation of parameter in decoded data, equal in decoded data The total number of code name, is generated after the decoding;Judge, to determine data validity, to keep away by the contrast to above-mentioned two parameter Exempt from the occupancy of the invalid data that is malfunctioned in transmitting procedure to server resource, improve the efficiency of server.
2nd, to the judgement of each parameter:
The parameter judged includes:Total number of characters L of data, code name type ASCII character, code name type number Km, Custom code ASCII character, code name gap character number c, code name number m, custom code type number n, custom code Number Kn, the interval number of seconds T for sending data;
The meaning of above-mentioned parameter and selection reason are:
Total number of characters L of data:Because each final be encoded to after character string adds hypertext biography to character string The header information of defeated agreement, its length are set as L, therefore, when total number of characters L of data is less than header information length, i.e., Can determine whether the data is invalid data, and invalid data can directly be effectively filtered out by carrying out Effective judgement by the parameter.
Code name type ASCII character:Due to the definition rule of code name, code name type ASCII character is specific preset value, because This, when the ASCII character of code name type ASCII character and definition code name is inconsistent, you can the data are judged for invalid data, due to The parameter belongs to hardness and defines class parameter, therefore judges that data validity is accurately direct by the parameter.
Code name type number Km:How much is code name species in described code name type number expression reservation data, that is, reflects The quantity of data type in data, normal reservation data comprise at least the data of this 3 type of word, figure and time, or It is that the quantity of default data type is limited as needed, directly can quickly judges data from there through code name type Validity.
Code name gap character number c:From coding rule, there should be interval between two code names, therefore, code name interval word Accord with for examining nonseptate data, these data are invalid data, and the judgement to the parameter is it is possible to prevente effectively from there is code name Waste of the invalid data of adjacencies to server resource.
Code name number m:Code name number m is the summation of all types of code name numbers in data, due to code name number m and code name class Contact between type number Km, if code number m is less than code name type number m, it is clear that the data are invalid data, therefore, generation Number number m Rule of judgment is identical with code name type number Km Rule of judgment.
Custom code type number n:Custom code type number n is identical with code name type number Km, is all data The number of type, its judgement is identical with code name type Km judgement, can effectively exclude to encode by the judgement to this parameter During there is the abnormal invalid data of custom code quantity.
Custom code number Kn:Custom code caused by coding is paired every time, therefore custom code number For even number, and it is twice of coding number, it is judged to identify the number to malfunction in cataloged procedure with simple and effective According to or be not belonging to this clinic system communication external data.
Custom code ASCII character:According to ASCII character coding rule, custom code ASCII character is that the data of null value are Empty data, as invalid data, by judging the parameter simply directly to eliminate some obvious invalid data.
Send the interval number of seconds T of data:In the preferred scheme of the present invention, set, sent between data according to sending and receiving end Every having certain time interval, the data less than the interval may be occur transmission abnormality data or by improper approach from The false data of dynamic Mass production, as invalid data, also, the probability that the data for exceeding intervals are artificially distorted is very Height, therefore the data are also judged to invalid data, by the judgement of this parameter it is possible to prevente effectively from the data or mantissa of transmission abnormality According to occupancy server resource.
3rd, the contrast to iteration code name matrix and custom code matrix judges:
Iteration code name matrix reflects the situation that coding period division is replaced, and is generated in coding stage, and its generating process is:Will The code name of coding generation is as its row vector every time, and by each row vector, longitudinally superposition forms iteration code name matrix successively;It is self-defined Code matrices reflect the splicing order of all types of data slots, generate after the decoding, its generating process is:Be preset with each Row vector corresponding to definition code, the columns of the row vector match with the number that coding period division is replaced every time, carried in order Custom code of the access in, being corresponded to row vector, longitudinally superposition forms custom code matrix successively;In logic, repeatedly Number matrix is equal with custom code matrix from generation to generation, if there is unequal situation, illustrates the data in transmitting procedure Middle to malfunction or distorted, i.e., the data are invalid data, and therefore, the contrast to above-mentioned matrix judges, realizes coding Stage is corresponding with decoding stage, avoids the wrong and artificial influence distorted to server in transmitting procedure, ensure that The validity and security of data.
The present invention is gradually encoded using distinctive coding mode to various types of data in data, recodification data Capacity is small, uniform format, improves the transmission efficiency of data, alleviates the load of server, ensures server normal operation, more Service is provided for each client well, while the Information Security after recodification is high, improves the security of data, and utilize Distinctive judgment principle carries out Effective judgement to data, abandons invalid data, further improves transmission rate, reduces server Load, ensure the efficiency of whole system.
Brief description of the drawings
Fig. 1 is the structured flowchart of the remote reserved clinic system of the present invention
Embodiment
Embodiment 1
The present invention is illustrated with reference to embodiment.
As shown in figure 1, a kind of remote reserved clinic system, including patient terminal, doctor terminal, server;
The server is connected by wireless network with patient terminal, doctor terminal;
The patient terminal includes patient and preengages module, patient data coding/decoding module, patient's display module;
The patient preengages module by the reserve requests information transfer that patient inputs to patient data coding/decoding module;
The patient data coding/decoding module pre-arranged code rule, receive the reserve requests letter that module is preengage from patient Breath, reserve requests information be encoded to the data of unified form, is then forwarded to server;Patient data coding/decoding module The data from server are received, corresponding coding rule obtains preengaging object information after being decoded, reservation object information is passed Patient's display module is transported to show;
The doctor terminal includes doctor's reservation processing module, doctor data coding/decoding module, doctor's display module;
Doctor's reservation processing module transmits doctor's processing information to doctor data coding/decoding module;
The doctor data coding/decoding module pre-arranged code rule, receives the information from doctor's reservation processing module, will Information is encoded to the data of unified form, is then forwarded to server;The doctor data coding/decoding module is received from service The data of device, corresponding coding rule obtain preengaging object information after being decoded, reservation object information are transmitted to doctor and shown Module is shown;
The server includes control module, information storage module, server data coding/decoding module;
The reserve requests information of the control module the reception server data coding/decoding module transmission, stores to information and stores Module;Doctor's processing information of the control module the reception server data coding/decoding module transmission, according to doctor's processing information Obtain accordingly preengaging object information, and send to information storage module and server data coding/decoding module;
Described information memory module storage patient's reserve requests information, the reservation object information of doctor, are adjusted for control module With, and modification is updated to the information of storage according to the information received;
The server data coding/decoding module pre-arranged code rule, receives the reserve requests Information Number from patient terminal According to or from doctor terminal doctor's processing information data;The server data coding/decoding module is by reserve requests information data Transmit to doctor terminal, transmitted after coding rule decoding is corresponded to reserve requests information data and doctor's processing information data to control Molding block;The data for, to the reservation object information of control module, to be encoded to unified form are received to send to patient terminal and doctor Raw terminal.
Described patient terminal, doctor terminal, server also include the processing structure for facilitating patient query's reservation information;
Described patient terminal includes information inquiry module;The inquiry request that described information enquiry module inputs patient is believed Breath is transmitted to patient data coding/decoding module;
The patient data coding/decoding module receives the information from information inquiry module, encodes information onto as unified form Data, be then forwarded to server;Patient data coding/decoding module receives the data from server, and corresponding coding rule enters Query Result information is obtained after row decoding, Query Result information transfer to patient's display module is shown;
The inquiry request information of the control module the reception server data coding/decoding module transmission, recalls information storage mould Medical information in block is transmitted to server data coding/decoding module;
Described information memory module is also stored with the medical information of hospital;
The server data coding/decoding module receives the data that the transmission of patient data coding/decoding module comes, corresponding coding rule Obtain inquiry request information after then being decoded, and by inquiry request information transfer to control module;The server data is compiled The medical information that the transmission of decoder module receive and control module comes, data transfer to the patient data for being encoded to unified form are compiled Decoder module.
The process of the above-mentioned data for being encoded to unified form includes following content:
A. the coding rule of custom code is included according to data type setting, is preset with corresponding with each data type Code name and false code, described data type include word, picture, the time, Voice & Video is therein a kind of or a kind of Combination above;
B. the fragment for meeting encoding condition in the data of each type is encoded according to coding rule, for containing more The data of individual categorical data fragment, the data slot of wherein each type is gradually carried out according to its corresponding coding rule respectively Coding, the described coding rule comprising custom code are that the code snippet for meeting encoding condition is replaced with corresponding code name, The quantity that coding period division is replaced every time is identical;
C. the data slot that completion is encoded in step b is merged, then Uniform compilation is into character string;
D. the obtained character strings of step c are packaged using the header information of HTTP, after encapsulation according to Binary coding method coding generation sends data.
Embodiment 2
Coding is illustrated below, this coding method is the preferred embodiment of the present invention, for the selection of coding method There can also be other modes, the coding method of other modes is replaced, under the technical concept for still falling within the present invention;If data In include lteral data, image data and time data three types, then to the data encoding 3 times, replace generation during coding every time Number number be 3, coding and generation send data and comprised the following steps that:
1st, code name and its ASCII character encode to lteral data according to corresponding to lteral data, lteral data in the present embodiment Corresponding code name is:A, its ASCII character are 97;
If the fragment of the lteral data for " ...%c4%b3%c4%b3%c4%b3%c4%b3... ", wherein lower stroke Line part meets encoding condition, and the encoding condition is that the meaning that this section of code represents is scenario described below:
(1) parameter setting of the type of data, value, pattern, length etc. is represented;
(2) regulation or the fixed character used, such as form etc. in data are represented;
(3) logical relations such as attribution data are represented;
Font is corresponded in data encoding, font size, color, the part of text type form is substituted with a.For example, the Song typeface three The character of the first section office first physician's name of word black word, after coding shaped like:" the word of the character a first physician's names of a first section office title Accord with a ... " (word in above-mentioned code is the lexical or textual analysis to the code snippet, and not code is in itself;To simplify explanation and expression, because This is substituted with word to specific code);
After being encoded to the part for meeting encoding condition, the code that encoding condition is met in former data slot is corresponding by a ASCII character:97 are replaced, and former data slot is changed into " ... 97 ... 97 ... 97 ... ";
2nd, code name and its ASCII character encode to image data according to corresponding to image data, wherein corresponding to image data Code name is:I, its ASCII character are 105;
If the fragment of the image data for " .../9j/4AAQSkZJRgABAQEAeAB4AAD/.../8QA ... ", wherein lower stroke Line part meets encoding condition, and the encoding condition is that the meaning that this section of code represents is scenario described below:
(1) parameter setting of the type of data, value, size etc. is represented;
(2) regulation or the fixed character used, such as picture format etc. in data are represented;
(3) logical relations such as attribution data are represented;
Correspondence image size in data encoding, background color, the part of image type form are substituted with i.For example, size is 290x400, background colour are the image of #F2F2F2 first section office first physician's name, after coding shaped like:" the character of i first section office title (word in above-mentioned code is the lexical or textual analysis to the code snippet to the coding i " of i first doctor's picture materials, and not code is in itself;For Simplify explanation and expression, therefore specific code is substituted with word);
After being encoded to the part for meeting encoding condition, the code that encoding condition is met in former data slot is corresponding by i ASCII character:105 are replaced, and former data slot is changed into " ... 105 ... 105 ... 105 ... ";
3rd, code name and its ASCII character encode to time data according to corresponding to time data, time data in the present embodiment Corresponding code name is:T, its ASCII character are 116;
If the fragment of the time data for " ...%c4%b3%c4%b3…10:00 ... ", wherein underscore part meets Encoding condition, the encoding condition are that the meaning that this section of code represents is scenario described below:
(1) parameter setting of data length is represented;
(2) regulation or the fixed character used, such as time format etc. in data are represented;
(3) logical relations such as attribution data are represented;
The part that time type format is corresponded in data encoding is substituted with t.For example, the consulting hours of first section office first doctor 10:00, after coding shaped like:" ... the character t10 of the character t first physician's names of t first section office title:The 00 " (text in above-mentioned code Word is lexical or textual analysis to the code snippet, and not code is in itself;To simplify explanation and expression, therefore specific code is carried out with word Substitute);
After being encoded to the part for meeting encoding condition, the code that encoding condition is met in former data slot is corresponding by t ASCII character:116 are replaced, and former data slot is changed into " ... 116 ... 116 ... 116 ... ";
4th, coding result is merged:
Successively merge the coding of each time, between corresponding to all types of data custom code interval, obtain:“…#… 97 ... 97 ... 97 ... ## ... 105 ... 105 ... 105 ... ## ... 116 ... 116 ... 116 ... # ... " wherein # represent custom code, xth Custom code corresponding to individual data=[(code name of false code+x-th corresponding to x-th of data), n-th coding], 1≤x≤ N, 1≤N≤24, x are custom code label, and N is coding number;
Used certainly between the data encoding of first physician's name, the data encoding of first doctor's image and first doctor time data coding Definition code interval, obtained coding shaped like:The character a [fa, 1] of the character a first physician's names of [fa, 1] a first section office title The character t first of coding i [pi, 2] [dt, 3] the t first section office title of character i first doctor's picture materials of [pi, 2] i first section office title The character t10 of physician's name:00 [dt, 3];
Transmission parameter is calculated and value=3+3+3=9, iteration code name matrix are:
[(97,97,97),(105,105,105),(116,116,116)]T
Merge coding to obtain afterwards:" ... send parameter and value ... iteration code name matrix # ... 97 ... 97 ... 97 ... ## ... 105 ... 105 ... 105 ... ## ... 116 ... 116 ... 116 ... # ... " (word in above-mentioned code is the lexical or textual analysis to the code snippet, Not code is in itself;To simplify explanation and expression, therefore specific code is substituted with word), unified UTF-8 codings generation Character string;
5th, generation sends data:
The header information of HTTP is added to the character string that step 3 generates, generates character string:
“Accept:image/gif,image/x-xbitmap,image/jpeg,image/pjpeg,application/ x-shockwave-flash,application/vnd.ms-excel,application/vnd.ms-powerpoint, application/msword,*/*<CR>……<CR>' (character string that step 4 generates) ' ... ", and it is compiled according to binary system Code mode encodes, and generation sends data.
Decoding process is opposite with cataloged procedure.
Embodiment 3
The data after the coding of embodiment 2 are decoded below, and Effective judgement is carried out to decoded data:
A, obtain and send parameter and value, identification parameter and value, if transmission parameter and value are identical with identification parameter and value, enter Enter step b, if transmission parameter and value are identical with identification parameter and value, abandon the data;
It is 9 that parameter and value are sent in data after the coding of embodiment 2, if the identification parameter and value that are recognized after decoding also are 9, then prove that the data are effective, it is on the contrary then abandon the data into the judgement of next step;
B, the validity of data is judged using each validity parameter, if data are effective, corresponding position is carried out to it Reason, if data invalid, abandons the data;
Judgment rule such as table 1:
The data validity judgment rule table of table 1
C, each custom code in data slot is extracted, is preset with by the code name corresponding with custom code as element Row vector, by each row vector successively longitudinally superposition form custom code matrix, compare custom code matrix and iteration generation Number matrix, if they are equal, data are effective;The on the contrary then data invalid, abandons the data;
In the data that embodiment 2 encodes:
Iteration code name matrix is:
[(a,a,a),(i,i,i),(t,t,t)]T
I.e.:[(97,97,97),(105,105,105),(116,116,116)]T
Decoded data is:
[(fa),1]…97…97…97…[(fa),1][(pi),2]…105…105…105…[(pi),2][(dt), 3]…116…116…116…[(dt),3];
The custom code encoded every time is respectively:[(fa), 1], [(pi), 2], [(dt), 3]T
[(fa), 1] corresponding code name is a, and [(pi), 2] corresponding code name is i, and [(dt), 3] corresponding code name is t;
[(fa), 1] corresponding row vector is (a, a, a), [(pi), 2] corresponding row vector is (i, i, i), and [(dt), 3] is corresponding Row vector is (t, t, t);
Custom code matrix is:
[(a,a,a),(i,i,i),(t,t,t)]T
I.e.:[(97,97,97),(105,105,105),(116,116,116)]T
Therefore, the data are valid data.

Claims (9)

1. a kind of remote reserved clinic system, including patient terminal, doctor terminal, server, it is characterised in that:
The server is connected by wireless network with patient terminal, doctor terminal;
The patient terminal includes patient and preengages module, patient data coding/decoding module, patient's display module;
The patient preengages module by the reserve requests information transfer that patient inputs to patient data coding/decoding module;
The patient data coding/decoding module pre-arranged code rule, receives the reserve requests information that module is preengage from patient, will Reserve requests information be encoded to the data of unified form, is then forwarded to server;Patient data coding/decoding module receives Data from server, obtain preengaging object information after being decoded with corresponding coding rule, reservation object information is passed Patient's display module is transported to show;
The doctor terminal includes doctor's reservation processing module, doctor data coding/decoding module, doctor's display module;
Doctor's reservation processing module transmits doctor's processing information to doctor data coding/decoding module;
The doctor data coding/decoding module pre-arranged code rule, receives the information from doctor's reservation processing module, by information The data of unified form are encoded to, are then forwarded to server;The doctor data coding/decoding module is received from server Data, obtain preengaging object information after being decoded with corresponding coding rule, reservation object information is transmitted to doctor and shown Module is shown;
The server includes control module, information storage module, server data coding/decoding module;
The reserve requests information of the control module the reception server data coding/decoding module transmission, stores to information and stores mould Block;Doctor's processing information of the control module the reception server data coding/decoding module transmission, is obtained according to doctor's processing information To corresponding reservation object information, and send to information storage module and server data coding/decoding module;
Described information memory module storage patient's reserve requests information, the reservation object information of doctor, are called for control module, and Modification is updated to the information of storage according to the information received;
Server data coding/decoding module pre-arranged code rule, receive reserve requests information data from patient terminal or Doctor's processing information data from doctor terminal;The server data coding/decoding module is by reserve requests information data transmission To doctor terminal, transmitted after being decoded to reserve requests information data and doctor's processing information data with corresponding coding rule to control Molding block;The data for, to the reservation object information of control module, to be encoded to unified form are received to send to patient terminal and doctor Raw terminal;
The process of the above-mentioned data for being encoded to unified form includes following content:
A. the coding rule of custom code is included according to data type setting, is preset with the generation corresponding with each data type Number and false code, described data type include word, picture, the time, Voice & Video is therein one or more than one kinds of Combination;
B. the fragment for meeting encoding condition in the data of each type is encoded according to coding rule, for containing multiple classes The data of type data slot, the data slot of wherein each type is gradually compiled according to its corresponding coding rule respectively Code, the described coding rule comprising custom code are that the code snippet for meeting encoding condition is replaced with corresponding code name, often The quantity that secondary coding period division is replaced is identical;
C. the data slot that completion is encoded in step b is merged, then Uniform compilation is into character string;
D. the obtained character strings of step c are packaged using the header information of HTTP, entered after encapsulation according to two Coding method coding generation processed sends data.
2. remote reserved clinic system as claimed in claim 1, described patient terminal, doctor terminal, server also include Facilitate the processing structure of patient query's reservation information, it is characterised in that:
Described patient terminal includes information inquiry module;The inquiry request information that described information enquiry module inputs patient passes Transport to patient data coding/decoding module;
The patient data coding/decoding module receives the information from information inquiry module, encodes information onto as the number of unified form According to being then forwarded to server;Patient data coding/decoding module receives the data from server, enters with corresponding coding rule Query Result information is obtained after row decoding, Query Result information transfer to patient's display module is shown;
The inquiry request information of control module the reception server data coding/decoding module transmission, in recalls information memory module Medical information transmit to server data coding/decoding module;
Described information memory module is also stored with the medical information of hospital;
The server data coding/decoding module receives the data that the transmission of patient data coding/decoding module comes, and is advised with corresponding coding Obtain inquiry request information after then being decoded, and by inquiry request information transfer to control module;The server data is compiled The medical information that the transmission of decoder module receive and control module comes, data transfer to the patient data for being encoded to unified form are compiled Decoder module.
3. remote reserved clinic system as claimed in claim 1, it is characterised in that:
Merge in described step c and refer to:Parameter in each data slot, the fixed character used and logical relation Number obtains the property parameters value of each data slot, calculate each data slot property parameters value sum obtain send parameter and Value, using code name caused by each coding as row vector, and longitudinal arrangement forms iteration code name matrix, after step b is encoded Concatenated again after connecting its corresponding custom code before and after all types of data slots respectively, finally will send parameter and value and The data slot front end being placed in after concatenation after iteration code name matrix data concatenation, that is, complete to merge, wherein x-th of data slot pair The custom code answered=[(code name of false code+x-th corresponding to x-th of data slot), encoding times N], 1≤x≤N, 1≤N ≤24。
4. remote reserved clinic system as claimed in claim 3, it is characterised in that:The all types of data slots are corresponding Code name, the corresponding relation of corresponding false code are as follows:It is a that lteral data, which corresponds to code name, and corresponding false code is f;Image data is corresponding Code name is i, and corresponding false code is p, and it is t that time data, which corresponds to code name, and corresponding false code is d, and it is u that voice data, which corresponds to code name, Corresponding false code is s, and it is v that video data, which corresponds to code name, and corresponding false code is V.
5. remote reserved clinic system as claimed in claim 1, it is characterised in that meet the encoding condition and refer to the code The meaning that fragment represents is scenario described below:
(1) parameter setting of data is represented;
(2) regulation or the fixed character used in data are represented;
(3) attribution data logical relation is represented.
6. remote reserved clinic system as claimed in claim 1, it is characterised in that:
Into character string, utilization is UTF-8 coding methods to carry out for Uniform compilation described in the step c.
7. remote reserved clinic system as claimed in claim 3, it is characterised in that described to be solved with corresponding coding rule After code, in addition to following processing step:
A, the transmission parameter and value in data, and the parameter to identifying to obtain after decoding, the fixed character used and logic are obtained The number of relation sums up, and is identified parameter and value, if transmission parameter and value are identical with identification parameter and value, enters step Rapid b, if transmission parameter and value are different from identification parameter and value, abandon the data;
B, the validity of data is judged using each validity parameter, if data are effective, into step c, if data without Effect, then abandon the data;
C, each custom code in data slot is extracted, row vector is formed as element by the corresponding code name of custom code, By each row vector, longitudinally superposition forms custom code matrix successively, compares custom code matrix and iteration code name matrix, if They are equal, then data are effective;The on the contrary then data invalid, abandons the data.
8. remote reserved clinic system as claimed in claim 7, it is characterised in that the validity parameter includes:Data Total number of characters L, code name type ASCII character, code name type number Km, custom code ASCII character, code name gap character number c, Code name number m, custom code type number n, custom code number Kn, the interval number of seconds T for sending data.
9. remote reserved clinic system as claimed in claim 8, it is characterised in that described Effective judgement condition is as follows:
For total number of characters L of data, work as L<274, data invalid;When L >=274, data are effective;
For code name type ASCII character, when code name type ASCII character ≠ definition code name ASCII character, data invalid;When code name class Type ASCII character=definition code name ASCII character, data are effective;
For code name type number Km, work as Km<3 data invalids;When Km >=3, data are effective;
For code name gap character number c, work as C<1, data invalid;When C >=1, data are effective;
For code name number m, work as m<3, data invalid;When m >=3, data are effective;
For custom code type number n, work as n<3, data invalid;When n >=3, data are effective;
For custom code number Kn, when Kn is odd number, data invalid;When Kn is even number, data are effective;
For custom code ASCII character, when custom code ASCII character is null value, data invalid, work as custom code ASCII character is non-null value, and data are effective;
Interval number of seconds T for sending data, works as T<8, data invalid;As 8≤T<13, data are effective.
CN201410405798.8A 2014-08-18 2014-08-18 Remote reserved clinic system Expired - Fee Related CN104182501B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410405798.8A CN104182501B (en) 2014-08-18 2014-08-18 Remote reserved clinic system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410405798.8A CN104182501B (en) 2014-08-18 2014-08-18 Remote reserved clinic system

Publications (2)

Publication Number Publication Date
CN104182501A CN104182501A (en) 2014-12-03
CN104182501B true CN104182501B (en) 2018-01-02

Family

ID=51963540

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410405798.8A Expired - Fee Related CN104182501B (en) 2014-08-18 2014-08-18 Remote reserved clinic system

Country Status (1)

Country Link
CN (1) CN104182501B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106294102B (en) * 2015-05-20 2021-04-09 腾讯科技(深圳)有限公司 Application program testing method, client, server and system
CN107784860A (en) * 2017-11-20 2018-03-09 哈尔滨理工大学 A kind of smart parking occupancy management system and its method of work
CN114093487B (en) * 2021-12-07 2023-04-28 扬中市人民医院 Pre-detection registration and diagnosis system and method
CN117149160B (en) * 2023-08-23 2024-04-02 浙江十勇士网络科技有限公司 Mobile phone game resource packaging method, system and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002108945A (en) * 2000-09-29 2002-04-12 Kansai Electric Power Co Inc:The System and method for collecting data
US6963980B1 (en) * 2000-11-16 2005-11-08 Protegrity Corporation Combined hardware and software based encryption of databases
CN102412967A (en) * 2011-09-29 2012-04-11 用友软件股份有限公司 Data transmission system and method
CN102612028A (en) * 2012-03-28 2012-07-25 电信科学技术研究院 Method, system and device for configuration transmission and data transmission
CN103096303A (en) * 2011-10-31 2013-05-08 华为技术有限公司 Data packet transmission method and equipment

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3913182B2 (en) * 2003-02-28 2007-05-09 アイチケット株式会社 Reservation acceptance method, advance call method and program thereof
CN101257503A (en) * 2007-02-06 2008-09-03 北京邮电大学 Wireless remote visiting hospital register method
CN102609816B (en) * 2012-02-13 2017-02-08 浪潮通用软件有限公司 General material coding method capable of coding according to user-defined rule

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002108945A (en) * 2000-09-29 2002-04-12 Kansai Electric Power Co Inc:The System and method for collecting data
US6963980B1 (en) * 2000-11-16 2005-11-08 Protegrity Corporation Combined hardware and software based encryption of databases
CN102412967A (en) * 2011-09-29 2012-04-11 用友软件股份有限公司 Data transmission system and method
CN103096303A (en) * 2011-10-31 2013-05-08 华为技术有限公司 Data packet transmission method and equipment
CN102612028A (en) * 2012-03-28 2012-07-25 电信科学技术研究院 Method, system and device for configuration transmission and data transmission

Also Published As

Publication number Publication date
CN104182501A (en) 2014-12-03

Similar Documents

Publication Publication Date Title
CN104182501B (en) Remote reserved clinic system
CN112541745B (en) User behavior data analysis method and device, electronic equipment and readable storage medium
US20060020611A1 (en) De-identification and linkage of data records
CN106610995B (en) Method, device and system for creating ciphertext index
US20020073099A1 (en) De-identification and linkage of data records
CN109478222A (en) The method of the data exchanged between protection service user and ISP
CN109003192A (en) A kind of insurance underwriting method and relevant device based on block chain
CN112671921A (en) Data transmission method and device, electronic equipment and readable storage medium
Taş et al. A new coding/decoding algorithm using Fibonacci numbers
CN103118139A (en) Distributed information hiding transmission system and transmission method thereof
CN112447300A (en) Medical query method and device based on graph neural network, computer equipment and storage medium
CN103679935A (en) Keyword formed by synthesis through terminal
CN111209591A (en) Storage structure sorted according to time and quick query method
US20080298496A1 (en) Text Encoding System and Method
CN115842621A (en) Intelligent medical system based on big data and cloud edge cooperation
CN117478439B (en) Network and information security encryption system and method
CN110689348A (en) Income verification method, device, terminal and medium based on alliance chain
CN1698304B (en) Method and system for retrieving secured data
CN110048847A (en) A kind of quick barcode scanning endorsement method based on block chain technology
CN110097159A (en) A kind of QR code safety certifying method and system based on Hamming code
CN115860768B (en) Source tracing method and device based on blockchain and electronic equipment thereof
CN107025214B (en) Data processing method and device
CN116595587B (en) Document steganography method and document management method based on secret service
CN116305294B (en) Data leakage tracing method and device, electronic equipment and storage medium
US20130110846A1 (en) Data processing method and apparatus

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20180102

Termination date: 20180818